Go-QT Binding: QAbstractAnimation No such file or directory - c++

I am using go-QT binding(https://github.com/therecipe/qt). My code is compiling & working good for amd64 but when I try to cross compile it for arm devices (Raspberrypi), it gives below error. Please advise how to solve this issue
**src/github.com/therecipe/qt/core/core.cpp:9:30: fatal error:
QAbstractAnimation: No such file or directory
compilation terminated.**
Environment Variables
GOARCH="arm"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/minhaj/GoLang"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
GOARM=""
CC="arm-linux-gnueabi-gcc"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-
map=/tmp/go-build728594690=/tmp/go-build -gno-record-gcc-switches"
CXX="arm-linux-gnueabi-g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Compilation Result
go build -v IndoorMass/
crypto
encoding
encoding/base64
crypto/sha256
unicode/utf16
flag
encoding/json
golang.org/x/image/math/fixed
github.com/golang/freetype/raster
golang.org/x/image/font
github.com/icza/mjpeg
github.com/golang/freetype/truetype
github.com/skip2/go-qrcode/bitset
github.com/skip2/go-qrcode/reedsolomon
path/filepath
io/ioutil
github.com/skip2/go-qrcode
container/list
golang.org/x/net/context
github.com/mattn/go-sqlite3
IndoorMass/General
github.com/tidwall/match
github.com/tidwall/gjson
compress/gzip
crypto/subtle
crypto/cipher
crypto/aes
internal/syscall/unix
math/rand
math/big
crypto/rand
crypto/des
crypto/elliptic
crypto/sha512
encoding/asn1
crypto/ecdsa
crypto/hmac
crypto/internal/cipherhw
crypto/md5
crypto/rc4
crypto/rsa
crypto/sha1
crypto/dsa
crypto/x509/pkix
encoding/hex
encoding/pem
internal/nettrace
internal/singleflight
net
crypto/x509
vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
vendor/golang_org/x/crypto/poly1305
vendor/golang_org/x/crypto/chacha20poly1305
vendor/golang_org/x/crypto/curve25519
crypto/tls
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/idna
vendor/golang_org/x/net/lex/httplex
vendor/golang_org/x/text/transform
vendor/golang_org/x/text/unicode/norm
vendor/golang_org/x/text/width
mime
mime/quotedprintable
net/textproto
mime/multipart
net/http/httptrace
net/http/internal
path
net/http
IndoorMass/Server
github.com/kaey/framebuffer
os/exec
github.com/mrmorphic/hwio
github.com/DexterInd/GrovePi/Software/Go/grovepi
IndoorMass/Sensor
github.com/therecipe/qt
github.com/therecipe/qt/core
# github.com/therecipe/qt/core
src/github.com/therecipe/qt/core/core.cpp:9:30: fatal error:
QAbstractAnimation: No such file or directory
compilation terminated.
IndoorMass/DB
IndoorMass/Manager

Related

Ovs with dpdk configuration issue

I installed dpdk 22.07 version on ubuntu 22.04 server as specified in the guide.
https://core.dpdk.org/doc/quick-start/
Then I used the following command for ovs installation.
./configure --with-dpdk=static CFLAGS="-Ofast -msse4.2 -mpopcnt"
And I got the following error.
configure: error: Could not find DPDK libraries in static/lib
Then I changed the command as follows.
./configure --with-dpdk=/opt/DPDK/dpdk-22.07 CFLAGS="-Ofast -msse4.2 -mpopcnt"
And I got the following error.
configure: error: Could not find DPDK libraries in /opt/DPDK/dpdk-22.07/lib
How can i solve this problem?
Note: Dpdk is located in /opt/DPDK/dpdk-22.07 path, and ovs is located in /opt/OVS//openvswitch-2.8.1 path.
Output of "pkg-config --static --libs --cflags libdpdk" command is below.
-I/usr/local/include -include rte_config.h -march=native -Wl,--whole-archive -L/usr/local/lib/x86_64-linux-gnu -l:librte_common_cpt.a -l:librte_common_dpaax.a -l:librte_common_iavf.a -l:librte_common_octeontx.a -l:librte_bus_auxiliary.a -l:librte_bus_dpaa.a -l:librte_bus_fslmc.a -l:librte_bus_ifpga.a -l:librte_bus_pci.a -l:librte_bus_vdev.a -l:librte_bus_vmbus.a -l:librte_common_cnxk.a -l:librte_common_qat.a -l:librte_common_sfc_efx.a -l:librte_mempool_bucket.a -l:librte_mempool_cnxk.a -l:librte_mempool_dpaa.a -l:librte_mempool_dpaa2.a -l:librte_mempool_octeontx.a -l:librte_mempool_ring.a -l:librte_mempool_stack.a -l:librte_dma_cnxk.a -l:librte_dma_dpaa.a -l:librte_dma_dpaa2.a -l:librte_dma_hisilicon.a -l:librte_dma_idxd.a -l:librte_dma_ioat.a -l:librte_dma_skeleton.a -l:librte_net_af_packet.a -l:librte_net_ark.a -l:librte_net_atlantic.a -l:librte_net_avp.a -l:librte_net_axgbe.a -l:librte_net_bnx2x.a -l:librte_net_bnxt.a -l:librte_net_bond.a -l:librte_net_cnxk.a -l:librte_net_cxgbe.a -l:librte_net_dpaa.a -l:librte_net_dpaa2.a -l:librte_net_e1000.a -l:librte_net_ena.a -l:librte_net_enetc.a -l:librte_net_enetfec.a -l:librte_net_enic.a -l:librte_net_failsafe.a -l:librte_net_fm10k.a -l:librte_net_hinic.a -l:librte_net_hns3.a -l:librte_net_i40e.a -l:librte_net_iavf.a -l:librte_net_ice.a -l:librte_net_igc.a -l:librte_net_ionic.a -l:librte_net_ixgbe.a -l:librte_net_kni.a -l:librte_net_liquidio.a -l:librte_net_memif.a -l:librte_net_netvsc.a -l:librte_net_nfp.a -l:librte_net_ngbe.a -l:librte_net_null.a -l:librte_net_octeontx.a -l:librte_net_octeontx_ep.a -l:librte_net_pcap.a -l:librte_net_pfe.a -l:librte_net_qede.a -l:librte_net_ring.a -l:librte_net_sfc.a -l:librte_net_softnic.a -l:librte_net_tap.a -l:librte_net_thunderx.a -l:librte_net_txgbe.a -l:librte_net_vdev_netvsc.a -l:librte_net_vhost.a -l:librte_net_virtio.a -l:librte_net_vmxnet3.a -l:librte_raw_cnxk_bphy.a -l:librte_raw_cnxk_gpio.a -l:librte_raw_dpaa2_cmdif.a -l:librte_raw_ntb.a -l:librte_raw_skeleton.a -l:librte_crypto_bcmfs.a -l:librte_crypto_caam_jr.a -l:librte_crypto_ccp.a -l:librte_crypto_cnxk.a -l:librte_crypto_dpaa_sec.a -l:librte_crypto_dpaa2_sec.a -l:librte_crypto_nitrox.a -l:librte_crypto_null.a -l:librte_crypto_octeontx.a -l:librte_crypto_openssl.a -l:librte_crypto_scheduler.a -l:librte_crypto_virtio.a -l:librte_compress_octeontx.a -l:librte_compress_zlib.a -l:librte_regex_cn9k.a -l:librte_vdpa_ifc.a -l:librte_vdpa_sfc.a -l:librte_event_cnxk.a -l:librte_event_dlb2.a -l:librte_event_dpaa.a -l:librte_event_dpaa2.a -l:librte_event_dsw.a -l:librte_event_opdl.a -l:librte_event_skeleton.a -l:librte_event_sw.a -l:librte_event_octeontx.a -l:librte_baseband_acc100.a -l:librte_baseband_fpga_5gnr_fec.a -l:librte_baseband_fpga_lte_fec.a -l:librte_baseband_la12xx.a -l:librte_baseband_null.a -l:librte_baseband_turbo_sw.a -l:librte_node.a -l:librte_graph.a -l:librte_flow_classify.a -l:librte_pipeline.a -l:librte_table.a -l:librte_pdump.a -l:librte_port.a -l:librte_fib.a -l:librte_ipsec.a -l:librte_vhost.a -l:librte_stack.a -l:librte_security.a -l:librte_sched.a -l:librte_reorder.a -l:librte_rib.a -l:librte_dmadev.a -l:librte_regexdev.a -l:librte_rawdev.a -l:librte_power.a -l:librte_pcapng.a -l:librte_member.a -l:librte_lpm.a -l:librte_latencystats.a -l:librte_kni.a -l:librte_jobstats.a -l:librte_ip_frag.a -l:librte_gso.a -l:librte_gro.a -l:librte_gpudev.a -l:librte_eventdev.a -l:librte_efd.a -l:librte_distributor.a -l:librte_cryptodev.a -l:librte_compressdev.a -l:librte_cfgfile.a -l:librte_bpf.a -l:librte_bitratestats.a -l:librte_bbdev.a -l:librte_acl.a -l:librte_timer.a -l:librte_hash.a -l:librte_metrics.a -l:librte_cmdline.a -l:librte_pci.a -l:librte_ethdev.a -l:librte_meter.a -l:librte_net.a -l:librte_mbuf.a -l:librte_mempool.a -l:librte_rcu.a -l:librte_ring.a -l:librte_eal.a -l:librte_telemetry.a -l:librte_kvargs.a -Wl,--no-whole-archive -Wl,--export-dynamic -latomic -Wl,--as-needed -lrte_node -lrte_graph -lrte_flow_classify -lrte_pipeline -lrte_table -lrte_pdump -lrte_port -lrte_fib -lrte_ipsec -lrte_vhost -lrte_stack -lrte_security -lrte_sched -lrte_reorder -lrte_rib -lrte_dmadev -lrte_regexdev -lrte_rawdev -lrte_power -lrte_pcapng -lrte_member -lrte_lpm -lrte_latencystats -lrte_kni -lrte_jobstats -lrte_ip_frag -lrte_gso -lrte_gro -lrte_gpudev -lrte_eventdev -lrte_efd -lrte_distributor -lrte_cryptodev -lrte_compressdev -lrte_cfgfile -lrte_bpf -lrte_bitratestats -lrte_bbdev -lrte_acl -lrte_timer -lrte_hash -lrte_metrics -lrte_cmdline -lrte_pci -lrte_ethdev -lrte_meter -lrte_net -lrte_mbuf -lrte_mempool -lrte_rcu -lrte_ring -lrte_eal -lrte_telemetry -lrte_kvargs -pthread -lm -ldl -lnuma -lcrypto -ldl -pthread -lz -lpcap -ldbus-1

Linker error: ELF section name out of range

What does this "ELF section name out of range" error mean?
I am trying to build a binary, but constantly getting this linker error.
root#ubuntu:/home/ubuntu/e2c/e2c_core# make all
arm-oe-linux-gnueabi-g++ --sysroot=/home/ubuntu/sysroots/aarch64-oe-linux/ -O0 -g -Wall -fmessage-length=0 -MD -MP -DLINUX=1 -DUSE_CONFIG_FILE=1 --sysroot=/home/ubuntu/sysroots/aarch64-oe-linux/ -fstack-protector -fPIE -z relro -z now -D_FORTIFY_SOURCE=2 -std=c++0x -O3 -Wall -fmessage-length=0 -MD -MP -DLINUX=1 -DUSE_CONFIG_FILE=1 -D__MOCANA_DISABLE_INLINE_ASSEMBLY__ -I. -Iapi/ -Icfg/ -Iplatform/ -Icore/ -Icore/Diagnostics/ -Icore/GreyhoundThread/ -Icore/LIB_Mocana/ -Icore/LIB_ProtonE/ -Icore/Mocana/ -Icore/PKI/ -Icore/Telemetry/ -Icore/UTCtimeSync/ -Icore/jsmn/ -I../e2c_api/ -Ilib/atecclib/ -Ilib/atecclib/lib/ -Ilib/config/ -I../boost/ -I/home/ubuntu/Downloads/libwebsockets/build/include/ -Icore/LIB_Mocana/src/ocsp/ -Iunity/ -include core/E2C_global_include.h -o e2c_core main.o api/api_diy.o api/api_rci.o api/api_sta.o api/TelemetryInterface.o cfg/CloudVariantSetup.o cfg/SwVersion.o core/e2c_core_config.o core/E2C_internal_main.o core/Diagnostics/LegacyDBdiag.o core/GreyhoundThread/FirmwareDownload.o core/GreyhoundThread/GreyhoundThread.o core/GreyhoundThread/Provisioning.o core/GreyhoundThread/UTCtimeSync.o core/GreyhoundThread/WS_Provisioning.o core/jsmn/jsmn.o core/LIB_Mocana/src/asn1/ASN1TreeWalker.o core/LIB_Mocana/src/asn1/derencoder.o core/LIB_Mocana/src/asn1/oiddefs.o core/LIB_Mocana/src/asn1/oidutils.o core/LIB_Mocana/src/asn1/parseasn1.o core/LIB_Mocana/src/asn1/parsecert.o core/LIB_Mocana/src/common/absstream.o core/LIB_Mocana/src/common/altivec.o core/LIB_Mocana/src/common/circ_buf.o core/LIB_Mocana/src/common/circq.o core/LIB_Mocana/src/common/datetime.o core/LIB_Mocana/src/common/debug_console.o core/LIB_Mocana/src/common/dynarray.o core/LIB_Mocana/src/common/hash_table.o core/LIB_Mocana/src/common/hash_value.o core/LIB_Mocana/src/common/int128.o core/LIB_Mocana/src/common/int64.o core/LIB_Mocana/src/common/jacobi.o core/LIB_Mocana/src/common/lucas.o core/LIB_Mocana/src/common/math_arm.o core/LIB_Mocana/src/common/mbitmap.o core/LIB_Mocana/src/common/memfile.o core/LIB_Mocana/src/common/memory_debug.o core/LIB_Mocana/src/common/mem_part.o core/LIB_Mocana/src/common/mem_pool.o core/LIB_Mocana/src/common/merrors.o core/LIB_Mocana/src/common/mocana.o core/LIB_Mocana/src/common/moc_net.o core/LIB_Mocana/src/common/moc_stream.o core/LIB_Mocana/src/common/mprintf.o core/LIB_Mocana/src/common/mrtos.o core/LIB_Mocana/src/common/mstdlib.o core/LIB_Mocana/src/common/mtcp.o core/LIB_Mocana/src/common/prime.o core/LIB_Mocana/src/common/random.o core/LIB_Mocana/src/common/redblack.o core/LIB_Mocana/src/common/rng_seed.o core/LIB_Mocana/src/common/sizedbuffer.o core/LIB_Mocana/src/common/timer.o core/LIB_Mocana/src/common/tree.o core/LIB_Mocana/src/common/uri.o core/LIB_Mocana/src/common/utils.o core/LIB_Mocana/src/common/vlong.o core/LIB_Mocana/src/crypto/aesalgo.o core/LIB_Mocana/src/crypto/aesalgoNi.o core/LIB_Mocana/src/crypto/aes_ccm.o core/LIB_Mocana/src/crypto/aes_cmac.o core/LIB_Mocana/src/crypto/aes.o core/LIB_Mocana/src/crypto/aes_ctr.o core/LIB_Mocana/src/crypto/aes_eax.o core/LIB_Mocana/src/crypto/aes_ecb.o core/LIB_Mocana/src/crypto/aes_keywrap.o core/LIB_Mocana/src/crypto/aes_xcbc_mac_96.o core/LIB_Mocana/src/crypto/aes_xts.o core/LIB_Mocana/src/crypto/ansix9_63_kdf.o core/LIB_Mocana/src/crypto/arc2.o core/LIB_Mocana/src/crypto/arc4.o core/LIB_Mocana/src/crypto/asn1cert.o core/LIB_Mocana/src/crypto/base64m.o core/LIB_Mocana/src/crypto/blowfish.o core/LIB_Mocana/src/crypto/ca_mgmt.o core/LIB_Mocana/src/crypto/cert_store.o core/LIB_Mocana/src/crypto/cms_aux.o core/LIB_Mocana/src/crypto/crypto.o core/LIB_Mocana/src/crypto/des.o core/LIB_Mocana/src/crypto/dh.o core/LIB_Mocana/src/crypto/dsa2.o core/LIB_Mocana/src/crypto/dsa.o core/LIB_Mocana/src/crypto/fips.o core/LIB_Mocana/src/crypto/gcm.o core/LIB_Mocana/src/crypto/hmac.o core/LIB_Mocana/src/crypto/key_utils.o core/LIB_Mocana/src/crypto/md2.o core/LIB_Mocana/src/crypto/md45.o core/LIB_Mocana/src/crypto/md4.o core/LIB_Mocana/src/crypto/md5.o core/LIB_Mocana/src/crypto/nil.o core/LIB_Mocana/src/crypto/nist_rng.o core/LIB_Mocana/src/crypto/pem_key.o core/LIB_Mocana/src/crypto/pkcs10.o core/LIB_Mocana/src/crypto/pkcs12.o core/LIB_Mocana/src/crypto/pkcs1.o core/LIB_Mocana/src/crypto/pkcs5.o core/LIB_Mocana/src/crypto/pkcs7.o core/LIB_Mocana/src/crypto/pkcs8.o core/LIB_Mocana/src/crypto/pkcs_common.o core/LIB_Mocana/src/crypto/pkcs.o core/LIB_Mocana/src/crypto/pkcs_key.o core/LIB_Mocana/src/crypto/primeec_atecc.o core/LIB_Mocana/src/crypto/primeec.o core/LIB_Mocana/src/crypto/primefld.o core/LIB_Mocana/src/crypto/pubcrypto.o core/LIB_Mocana/src/crypto/rc2algo.o core/LIB_Mocana/src/crypto/rc4algo.o core/LIB_Mocana/src/crypto/rsa.o core/LIB_Mocana/src/crypto/sec_key.o core/LIB_Mocana/src/crypto/sha1.o core/LIB_Mocana/src/crypto/sha256.o core/LIB_Mocana/src/crypto/sha512.o core/LIB_Mocana/src/crypto/three_des.o core/LIB_Mocana/src/ocsp/client/ocsp_client.o core/LIB_Mocana/src/ocsp/ocsp_context.o core/LIB_Mocana/src/ocsp/ocsp.o core/LIB_Mocana/src/ocsp/ocsp_http.o core/LIB_Mocana/src/ocsp/ocsp_message.o core/LIB_Mocana/src/platform/linux_rtos.o core/LIB_Mocana/src/platform/linux_tcp_async.o core/LIB_Mocana/src/platform/linux_tcp.o core/LIB_Mocana/src/platform/linux_udp.o core/LIB_Mocana/src/ssl/ssl.o core/LIB_Mocana/src/ssl/ssl_ocsp.o core/LIB_Mocana/src/ssl/sslsock.o core/LIB_ProtonE/src/buffer.o core/LIB_ProtonE/src/error.o core/LIB_ProtonE/src/log.o core/LIB_ProtonE/src/parser.o core/LIB_ProtonE/src/pn_platform.o core/LIB_ProtonE/src/scanner.o core/LIB_ProtonE/src/selectable.o core/LIB_ProtonE/src/types.o core/LIB_ProtonE/src/url.o core/LIB_ProtonE/src/util.o core/LIB_ProtonE/src/codec/codec.o core/LIB_ProtonE/src/codec/decoder.o core/LIB_ProtonE/src/codec/encoder.o core/LIB_ProtonE/src/dispatcher/dispatcher.o core/LIB_ProtonE/src/engine/engine.o core/LIB_ProtonE/src/events/event.o core/LIB_ProtonE/src/framing/framing.o core/LIB_ProtonE/src/message/message.o core/LIB_ProtonE/src/messenger/messenger.o core/LIB_ProtonE/src/messenger/store.o core/LIB_ProtonE/src/messenger/subscription.o core/LIB_ProtonE/src/messenger/transform.o core/LIB_ProtonE/src/object/iterator.o core/LIB_ProtonE/src/object/list.o core/LIB_ProtonE/src/object/map.o core/LIB_ProtonE/src/object/object.o core/LIB_ProtonE/src/object/record.o core/LIB_ProtonE/src/object/string.o core/LIB_ProtonE/src/posix/io.o core/LIB_ProtonE/src/posix/selector.o core/LIB_ProtonE/src/sasl/none_sasl.o core/LIB_ProtonE/src/sasl/sasl.o core/LIB_ProtonE/src/ssl/mocanassl_proton.o core/LIB_ProtonE/src/transport/autodetect.o core/LIB_ProtonE/src/transport/transport.o core/Mocana/MocSetup.o core/Mocana/MocTest.o core/Mocana/TLS_http_get.o core/PKI/CertificateStore.o core/PKI/ILVT.o core/PKI/MDKcode.o core/Telemetry/AMQPlayer.o core/Telemetry/GatewayTerminatedMessages.o core/Telemetry/GHbase64.o core/Telemetry/GHsequence.o core/Telemetry/MsgRouting.o core/Telemetry/RegistrationFlag.o core/Telemetry/TelemetryThread.o core/Telemetry/WSlayer.o core/Telemetry/WS_Stats.o core/Telemetry/PELIB/PELIBassert.o core/Telemetry/PELIB/PELIBmemoryMgmt.o core/Telemetry/PELIB/PELIBplatform.o core/UTCtimeSync/UTCtime.o core/UTCtimeSync/UTCtimeSyncJSON.o platform/Daemon.o platform/Linux_api.o platform/Logger.o platform/Platform.o platform/STA_DNScache.o platform/e2c/BL-RO-Store.o platform/e2c/ConfigStore.o platform/e2c/DebugPrint.o platform/e2c/DeviceConfig.o platform/e2c/E2C_FILE.o platform/e2c/MemoryManager.o platform/e2c/PlatformFileSystem.o lib/config/grammar.o lib/config/libconfig.o lib/config/scanctx.o lib/config/scanner.o lib/config/strbuf.o lib/config/libconfigcpp.o lib/atecclib/libatecc508.a -L../e2c_api/ -L/home/ubuntu/Downloads/libwebsockets/build/lib/ -Wl,--whole-archive -lpthread -ldl -Wl,--no-whole-archive -le2c_api -lrt -lwebsockets -luuid -lcurl
/home/ubuntu/sysroots/x86_64-oesdk-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.3/real-ld: fatal error: /home/ubuntu/sysroots/aarch64-oe-linux/usr/lib/libstdc++.so: ELF section name out of range
What does this actually mean?
In my case I was getting ld : error : myfile: file too short, or sometimes:
ld: warning: myfile has a section extending past end of file
ld : error : myfile: ELF section name out of range
because I was patching for Nix a folder containing both source code and binary blob… and since the number of files to patch was high I used a script to patch them all at the same time (using find and sed -i). Unfortunately, sed was also applied on binary files, which completely corrupted them.
I realized that by printing objdump -a myfile before and after the patching (I would get an error in the second case).

Qt cross compilation from x86 Ubuntu to ARM Beagle Bone almost finished with strange mistake R_ARM_THM_MOVW_ABS_NC

I already spent lots of time on trying to crosscompile Qt 5.2.1 (as a recommended and stable one) from my x86 Ubuntu to ARM Beagle Bone Black. After about 20 minutes the compilation ends with a strange mistake. This is the end of the compilation console output:
rm -f libQt5Core.so.5.2.1 libQt5Core.so libQt5Core.so.5 libQt5Core.so.5.2
/home/piotrek/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-g++ --sysroot=/media/rootfs -Wl,--no-undefined -Wl,-O1 -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list,/home/piotrek/qt-everywhere-opensource-src-5.2.1/qtbase/src/corelib/QtCore.dynlist -Wl,-soname,libQt5Core.so.5 -o libQt5Core.so.5.2.1 .obj/qabstractanimation.o .obj/qvariantanimation.o .obj/qpropertyanimation.o .obj/qanimationgroup.o .obj/qsequentialanimationgroup.o .obj/qparallelanimationgroup.o .obj/qpauseanimation.o .obj/qatomic_unix.o .obj/qglobal.o .obj/qglobalstatic.o .obj/qlibraryinfo.o .obj/qmalloc.o .obj/qnumeric.o .obj/qlogging.o .obj/qatomic.o .obj/qexception.o .obj/qresultstore.o .obj/qfutureinterface.o .obj/qfuturewatcher.o .obj/qmutex.o .obj/qreadwritelock.o .obj/qrunnable.o .obj/qmutexpool.o .obj/qsemaphore.o .obj/qthread.o .obj/qthreadpool.o .obj/qthreadstorage.o .obj/qthread_unix.o .obj/qwaitcondition_unix.o .obj/qarraydata.o .obj/qbitarray.o .obj/qbytearray.o .obj/qbytearraymatcher.o .obj/qcollator.o .obj/qcommandlineoption.o .obj/qcommandlineparser.o .obj/qcryptographichash.o .obj/qdatetime.o .obj/qdatetimeparser.o .obj/qeasingcurve.o .obj/qelapsedtimer.o .obj/qfreelist.o .obj/qhash.o .obj/qline.o .obj/qlinkedlist.o .obj/qlist.o .obj/qlocale.o .obj/qlocale_tools.o .obj/qpoint.o .obj/qmap.o .obj/qmargins.o .obj/qmessageauthenticationcode.o .obj/qcontiguouscache.o .obj/qrect.o .obj/qregexp.o .obj/qregularexpression.o .obj/qrefcount.o .obj/qshareddata.o .obj/qsharedpointer.o .obj/qsimd.o .obj/qsize.o .obj/qstring.o .obj/qstringbuilder.o .obj/qstringlist.o .obj/qtextboundaryfinder.o .obj/qtimeline.o .obj/qtimezone.o .obj/qtimezoneprivate.o .obj/qunicodetools.o .obj/qvector.o .obj/qvsnprintf.o .obj/qelapsedtimer_unix.o .obj/qlocale_unix.o .obj/qtimezoneprivate_tz.o .obj/adler32.o .obj/compress.o .obj/crc32.o .obj/deflate.o .obj/gzclose.o .obj/gzlib.o .obj/gzread.o .obj/gzwrite.o .obj/infback.o .obj/inffast.o .obj/inflate.o .obj/inftrees.o .obj/trees.o .obj/uncompr.o .obj/zutil.o .obj/qlocale_icu.o .obj/qcollator_icu.o .obj/qtimezoneprivate_icu.o .obj/pcre16_byte_order.o .obj/pcre16_chartables.o .obj/pcre16_compile.o .obj/pcre16_config.o .obj/pcre16_dfa_exec.o .obj/pcre16_exec.o .obj/pcre16_fullinfo.o .obj/pcre16_get.o .obj/pcre16_globals.o .obj/pcre16_jit_compile.o .obj/pcre16_maketables.o .obj/pcre16_newline.o .obj/pcre16_ord2utf16.o .obj/pcre16_refcount.o .obj/pcre16_string_utils.o .obj/pcre16_study.o .obj/pcre16_tables.o .obj/pcre16_ucd.o .obj/pcre16_utf16_utils.o .obj/pcre16_valid_utf16.o .obj/pcre16_version.o .obj/pcre16_xclass.o .obj/harfbuzz-buffer.o .obj/harfbuzz-gdef.o .obj/harfbuzz-gsub.o .obj/harfbuzz-gpos.o .obj/harfbuzz-impl.o .obj/harfbuzz-open.o .obj/harfbuzz-stream.o .obj/harfbuzz-shaper-all.o .obj/qharfbuzz.o .obj/qabstractfileengine.o .obj/qbuffer.o .obj/qdatastream.o .obj/qdataurl.o .obj/qtldurl.o .obj/qdebug.o .obj/qdir.o .obj/qdiriterator.o .obj/qfile.o .obj/qfiledevice.o .obj/qfileinfo.o .obj/qipaddress.o .obj/qiodevice.o .obj/qlockfile.o .obj/qnoncontiguousbytedevice.o .obj/qprocess.o .obj/qtextstream.o .obj/qtemporarydir.o .obj/qtemporaryfile.o .obj/qresource.o .obj/qresource_iterator.o .obj/qsavefile.o .obj/qstandardpaths.o .obj/qurl.o .obj/qurlidna.o .obj/qurlquery.o .obj/qurlrecode.o .obj/qsettings.o .obj/qfsfileengine.o .obj/qfsfileengine_iterator.o .obj/qfilesystemwatcher.o .obj/qfilesystemwatcher_polling.o .obj/qfilesystementry.o .obj/qfilesystemengine.o .obj/qfileselector.o .obj/qloggingcategory.o .obj/qloggingregistry.o .obj/qfsfileengine_unix.o .obj/qfilesystemengine_unix.o .obj/qlockfile_unix.o .obj/qprocess_unix.o .obj/qfilesystemiterator_unix.o .obj/qstandardpaths_unix.o .obj/qfilesystemwatcher_inotify.o .obj/qabstractitemmodel.o .obj/qabstractproxymodel.o .obj/qitemselectionmodel.o .obj/qidentityproxymodel.o .obj/qsortfilterproxymodel.o .obj/qstringlistmodel.o .obj/qjson.o .obj/qjsondocument.o .obj/qjsonobject.o .obj/qjsonarray.o .obj/qjsonvalue.o .obj/qjsonwriter.o .obj/qjsonparser.o .obj/qpluginloader.o .obj/qfactoryloader.o .obj/quuid.o .obj/qlibrary.o .obj/qelfparser_p.o .obj/qmachparser.o .obj/qlibrary_unix.o .obj/qabstracteventdispatcher.o .obj/qabstractnativeeventfilter.o .obj/qbasictimer.o .obj/qeventloop.o .obj/qcoreapplication.o .obj/qcoreevent.o .obj/qmetaobject.o .obj/qmetatype.o .obj/qmetaobjectbuilder.o .obj/qmimedata.o .obj/qobject.o .obj/qobjectcleanuphandler.o .obj/qsignalmapper.o .obj/qsocketnotifier.o .obj/qtimer.o .obj/qtranslator.o .obj/qvariant.o .obj/qcoreglobaldata.o .obj/qsharedmemory.o .obj/qsystemsemaphore.o .obj/qpointer.o .obj/qmath.o .obj/qsystemerror.o .obj/qcore_unix.o .obj/qcrashhandler.o .obj/qeventdispatcher_unix.o .obj/qtimerinfo_unix.o .obj/qeventdispatcher_glib.o .obj/qsharedmemory_unix.o .obj/qsystemsemaphore_unix.o .obj/qisciicodec.o .obj/qlatincodec.o .obj/qtextcodec.o .obj/qtsciicodec.o .obj/qutfcodec.o .obj/qicucodec.o .obj/qstatemachine.o .obj/qabstractstate.o .obj/qstate.o .obj/qfinalstate.o .obj/qhistorystate.o .obj/qabstracttransition.o .obj/qsignaltransition.o .obj/qeventtransition.o .obj/qmimedatabase.o .obj/qmimetype.o .obj/qmimemagicrulematcher.o .obj/qmimetypeparser.o .obj/qmimemagicrule.o .obj/qmimeglobpattern.o .obj/qmimeprovider.o .obj/qxmlstream.o .obj/qxmlutils.o .obj/qrc_mimetypes.o .obj/moc_qabstractanimation_p.o .obj/moc_qnamespace.o .obj/moc_qthread.o .obj/moc_qthreadpool.o .obj/moc_qfuturewatcher.o .obj/moc_qeasingcurve.o .obj/moc_qlocale.o .obj/moc_qtimeline.o .obj/moc_qfile.o .obj/moc_qfiledevice.o .obj/moc_qiodevice.o .obj/moc_qnoncontiguousbytedevice_p.o .obj/moc_qtextstream_p.o .obj/moc_qtemporaryfile.o .obj/moc_qsavefile.o .obj/moc_qsettings.o .obj/moc_qfilesystemwatcher_p.o .obj/moc_qfilesystemwatcher_polling_p.o .obj/moc_qfilesystemwatcher_inotify_p.o .obj/moc_qabstractitemmodel.o .obj/moc_qstringlistmodel.o .obj/moc_qpluginloader.o .obj/moc_qlibrary.o .obj/moc_qfactoryloader_p.o .obj/moc_qabstracteventdispatcher.o .obj/moc_qeventloop.o .obj/moc_qcoreapplication.o .obj/moc_qcoreevent.o .obj/moc_qmimedata.o .obj/moc_qsocketnotifier.o .obj/moc_qtimer.o .obj/moc_qtranslator.o .obj/moc_qobjectcleanuphandler.o .obj/moc_qsharedmemory.o .obj/moc_qeventdispatcher_unix_p.o .obj/moc_qeventdispatcher_glib_p.o .obj/moc_qabstractstate.o .obj/moc_qstate.o .obj/moc_qfinalstate.o .obj/moc_qhistorystate.o .obj/moc_qabstracttransition.o .obj/moc_qsignaltransition.o .obj/moc_qeventtransition.o -lrt -ldl -lpthread -licui18n -licuuc -lm -ldl -pthread -L/media/rootfs/usr/lib/arm-linux-gnueabihf -lgthread-2.0 -lglib-2.0 -lrt
/home/piotrek/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/../../../../arm-linux-gnueabihf/bin/ld: /media/rootfs/usr/lib/arm-linux-gnueabihf/libglib-2.0.a(libglib_2_0_la-gmain.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/media/rootfs/usr/lib/arm-linux-gnueabihf/libglib-2.0.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [../../lib/libQt5Core.so.5.2.1] Error 1
make[3]: Leaving directory `/home/piotrek/qt-everywhere-opensource-src-5.2.1/qtbase/src/corelib'
make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving directory `/home/piotrek/qt-everywhere-opensource-src-5.2.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/piotrek/qt-everywhere-opensource-src-5.2.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
I start the compilation process with standard command:
sudo make -j4
I believe the important part of the error output is:
(libglib_2_0_la-gmain.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
My Qt was configured with following command:
(device linux-beagleboard-g++ was edited for the Beaglebone)
sudo ./configure -prefix /home/piotrek/qt-everywhere-opensource-src-5.4.0 -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/piotrek/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf- -sysroot /media/rootfs -release -opensource -confirm-license -opengl es2 -v -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -qt-pcre -qt-xcb -qt-xkbcommon
How can i eliminate this error and push the compilation foreward? Where does it come form?
This is not related to your problem, I am asking anyways. Why do you to use Qt5.2.1. It quite old and lacking many improvements of newer versions.

Eclipse PTP hangs starting debug-session of an OpenMPI application

I want to use eclipse to debug some mpi code. The Eclipse PTP version looked well for the job, but I have problems with the debugger. I failed to get the debugger working (as bugfree program i used the included example of "MPI Pi C Project" for testing and try to debug it with two threads on my linux desktop). The actual symptom is that it hangs after the application was compiled showing me a "Operation in progress ..." message in the parallel debugging perspective.
My steps so far (or my actual try to get it running):
Installing new Eclipse PTP
Installing ISP (www.cs.utah.edu/formal_verification/ISP-release/ )
Installing PTP SDM (this should be not necessary, because the PTP-plugin has an
integrated SDM)
Then i configured MPI, SDM and ISP in the
"Preferences->Parallel Tools" dialog
Now the project compiles without
errors.
I add a "Open MPI-Generic-Interactive" run configuration with
an environment variable LD_LIBRARY_PATH=/usr/lib64/mpi/gcc/openmpi/lib (the variable is not set on the workstation and later it could be removed easy this way)
Now the program runs without errors with the expected output started by eclipse.
As a
next step i start the debugger with two threads and the program will
be compiled and eclipse ask me if i want to switch perspective. Then
a message window appears telling me "Operation in progress ..." and a
progress bar hangs at 20% for more than an hour (in one case).
So far I tried different solutions and debugging approachs:
I used Eclipse PTP-wiki and help.eclipse.org/kepler/topic/org.eclipse.ptp.doc.user/html/toc.html to get a little bit information on it.
I removed the LD_LIBRARY_PATH variable, now the executable wont run (if you run it inside of eclipse you get a "error while loading shared libraries: libmpi.so.1: cannot open shared object file" message and the program ends). In this case the message is not thrown when you start the debugger, so it should be that mpirun is never called by the debugger.
When i cancel the "Operation in progress ..."-message i get an error "Error completing debug job launch. Reason: Cannot connect to debugger." So i tried to google that error message, but i found only some threads like this "dev.eclipse.org/mhonarc/lists/ptp-user/msg01183.html", most of them to old and with the solution that ssh needs to be installed (this should not be the problem, i am able to connect from other hosts to the workstation using ssh, so server and client must work fine. Additional they use much older versions of PTP, because the problem to configure resource managers is now in the run/debug dialog)
I installed the optional RDT-Server and RDT-Tools but no reaction (i think this should not be the problem, but it was worth a try)
I found some questions here, but no solution.
Any suggestions how to solve that?
As appendix the debugger configuration (out of eclipse):
25524=RUNNING
25659=RUNNING
allAttributes=
allocator=
allocator_base_verbose=0
backtrace=
backtrace_base_verbose=0
bml=bucket
bml_base_verbose=67108864
bml_r2_show_unreach_errors=0
btl=0
btl_base_verbose=
btl_base_warn_component_unused=0
btl_self_bandwidth=4
btl_self_eager_limit=5
btl_self_exclusivity=5
btl_self_flags=3
btl_self_free_list_inc=64
btl_self_free_list_max=-1
btl_self_free_list_num=4
btl_self_latency=-1
btl_self_max_send_size=4
btl_self_min_rdma_pipeline_size=bucket
btl_self_rdma_pipeline_frag_size=128
btl_self_rdma_pipeline_send_length=4
btl_self_rndv_eager_limit=4
btl_sm_bandwidth=4
btl_sm_eager_limit=5
btl_sm_exclusivity=64
btl_sm_flags=3
btl_sm_have_knem_support=64
btl_sm_knem_dma_min=4
btl_sm_knem_max_simultaneous=-1
btl_sm_latency=128
btl_sm_max_send_size=4
btl_sm_rndv_eager_limit=4
btl_sm_use_knem=10
btl_tcp_bandwidth=stderr
btl_tcp_eager_limit=4
btl_tcp_endpoint_cache=4
btl_tcp_exclusivity=3
btl_tcp_flags=4
btl_tcp_if_exclude=0
btl_tcp_if_include=bucket
btl_tcp_if_seq=
btl_tcp_latency=0
btl_tcp_max_send_size=4
btl_tcp_min_rdma_pipeline_size=-1
btl_tcp_port_min_v4=64
btl_tcp_port_range_v4=20
btl_tcp_rdma_pipeline_frag_size=bucket
btl_tcp_rdma_pipeline_send_length=128
btl_tcp_rndv_eager_limit=5
btl_tcp_use_nagle=-1
byNodeOption=false
bySlotOption=false
carto=40
carto_auto_detect_priority=0
carto_base_verbose=
carto_file_path=
carto_file_priority=11
coll=0
coll_base_verbose=
coll_basic_crossover=50
coll_basic_priority=0
coll_hierarch_bcast_alg=
coll_hierarch_detection_alg=0
coll_hierarch_ignore_sm=30
coll_hierarch_priority=
coll_hierarch_segment_size=0
coll_hierarch_use_rdma=0
coll_hierarch_verbose=0
coll_inter_priority=10
coll_inter_verbose=4
coll_sm_comm_in_use_flags=0
coll_sm_comm_num_segments=2
coll_sm_control_size=0
coll_sm_fragment_size=0
coll_sm_info_num_procs=32768
coll_sm_priority=0
coll_sm_shared_mem_used_data=40
coll_sm_tree_degree=4
coll_sync_barrier_after=0
coll_sync_barrier_before=75
coll_sync_priority=0
coll_tuned_init_chain_fanout=8
coll_tuned_init_tree_fanout=2
coll_tuned_pre_allocate_memory_comm_size_limit=8192
coll_tuned_priority=4096
coll_tuned_use_dynamic_rules=4
control.address=localhost
control.user.name=Sebastian
control.working.dir=/home/Sebastian
current_controller=Basic.Options
debuggerArgs=--port=51091 --host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdm --debug=0
debuggerExecutablePath=/usr/local/bin/sdm
debuggerId=org.eclipse.ptp.debug.sdm
disabled=true
dpm=0
dpm_base_verbose=none
enabled_Basic.Options=byNodeOption bySlotOption hostFileOption hostListOption mpiNumberOfProcesses noLocalOption noOversubscribeOption prefixOption
errmgr=
errmgr_base_verbose=0
errmgr_default_priority=0
ess=
ess_base_verbose=0
ess_env_priority=0
ess_hnp_priority=0
ess_singleton_priority=0
ess_slave_priority=0
ess_slurm_priority=0
ess_slurmd_priority=0
ess_tool_priority=0
executableDirectory=/home/Sebastian/testW/Test/Debug
executablePath=/home/Sebastian/testW/Test/Debug/Test
extraArgs=
filem=
filem_base_verbose=0
filem_rsh_cp=cp
filem_rsh_max_incomming=10
filem_rsh_max_outgoing=10
filem_rsh_priority=20
filem_rsh_rcp=scp
filem_rsh_rsh=ssh
filem_rsh_verbose=0
grpcomm=
grpcomm_bad_priority=0
grpcomm_base_verbose=0
grpcomm_basic_priority=0
grpcomm_hier_priority=0
hostFileOption=false
hostListOption=false
hwloc=0
hwloc_base_mem_alloc_policy=
hwloc_base_mem_bind_failure_action=0
hwloc_base_verbose=0
invalid_Basic.Options=hostFile hostList prefix script_path
io=1000
io_base_freelist_increment=50
io_base_freelist_initial_size=4
io_base_freelist_max_size=548864
io_base_verbose=0
io_romio_complete_configure_params=0
io_romio_delete_priority=32768
io_romio_priority=30
io_romio_user_configure_params=4
io_romio_version=4
iof=262144
iof_base_verbose=2147483647
launchMode=run
local_prefix=
maffinity=30
maffinity_base_verbose=40
maffinity_first_use_priority=0
maffinity_hwloc_priority=
mca_base_param_file_path=/usr/lib64/mpi/gcc/openmpi/share/openmpi/amca-param-sets:/home/Sebastian
mca_base_param_file_path_force=
mca_base_param_file_prefix=
mca_component_disable_dlopen=0
mca_component_path=/usr/lib64/mpi/gcc/openmpi/lib64/openmpi:/home/Sebastian/.openmpi/components
mca_component_show_load_errors=1
mca_param_files=/home/Sebastian/.openmpi/mca-params.conf:/etc/openmpi-mca-params.conf
mca_verbose=stderr
memchecker=0
memory=
memory_base_verbose=
memory_linux_disable=-1
memory_linux_ptmalloc2_available=0
memory_linux_ptmalloc2_enable=0
memory_linux_ummunotify_available=1
memory_linux_ummunotify_enable=-1
mpiNumberOfProcesses=2
mpi_abort_delay=0
mpi_abort_print_stack=0
mpi_event_tick_rate=-1
mpi_have_sparse_group_storage=0
mpi_keep_peer_hostnames=1
mpi_leave_pinned=-1
mpi_leave_pinned_pipeline=0
mpi_no_free_handles=0
mpi_notify_init_finalize=1
mpi_paffinity_alone=0
mpi_param_check=1
mpi_preconnect_all=0
mpi_preconnect_mpi=0
mpi_show_handle_leaks=0
mpi_show_mca_params=
mpi_show_mca_params_file=
mpi_show_mpi_alloc_mem_leaks=0
mpi_use_sparse_group_storage=0
mpi_warn_on_fork=1
mpi_yield_when_idle=-1
mpool=16
mpool_base_verbose=64
mpool_rdma_print_stats=0
mpool_rdma_rcache_name=16
mpool_rdma_rcache_size_limit=
mpool_sm_allocator=10
mpool_sm_min_size=10
mpool_sm_verbose=from MPICH2 v1.3.1 with an additional patch from romio-maint#mcs.anl.gov about an attribute issue
mtl=1
mtl_base_verbose=0
noLocalOption=false
noOversubscribeOption=false
notifier=
notifier_base_verbose=0
notifier_command_cmd=/sbin/initlog -f $s -n "Open MPI" -s "$S: $m (errorcode: $e)"
notifier_command_priority=10
notifier_command_timeout=30
notifier_syslog_priority=0
notifier_threshold_severity=critical
odls=
odls_base_sigkill_timeout=1
odls_base_verbose=0
odls_default_priority=0
ompi_minor_version=6
oob=2147483647
oob_base_verbose=0
oob_tcp_connect_sleep=1
oob_tcp_debug=0
oob_tcp_disable_family=0
oob_tcp_dynamic_ports=
oob_tcp_if_exclude=
oob_tcp_if_include=
oob_tcp_listen_mode=event
oob_tcp_listen_thread_max_queue=10
oob_tcp_listen_thread_wait_time=10
oob_tcp_peer_limit=0
oob_tcp_peer_retries=0
oob_tcp_priority=0
oob_tcp_rcvbuf=0
oob_tcp_sndbuf=0
oob_tcp_static_ports=
oob_tcp_verbose=100
op_base_verbose=131072
opal_event_include=poll
opal_net_private_ipv4=10.0.0.0/8;172.16.0.0/12;192.168.0.0/16;169.254.0.0/16
opal_paffinity_alone=0
opal_profile=0
opal_profile_file=
opal_set_max_sys_limits=0
opal_signal=6,7,8,11
org.eclipse.debug.core.SOURCE_PATH_COMPUTER_ID=org.eclipse.ptp.debug.core.sourcePathComputer
org.eclipse.debug.core.appendEnvironmentVariables=true
org.eclipse.debug.core.environmentVariables={LD_LIBRARY_PATH=/usr/lib64/mpi/gcc/openmpi/lib}
org.eclipse.ptp.launch.ARGUMENT_ATTR=
org.eclipse.ptp.launch.ATTR_AUTO_RUN_COMMAND=true
org.eclipse.ptp.launch.ATTR_CONSOLE=true
org.eclipse.ptp.launch.ATTR_COPY_EXECUTABLE_FROM_LOCAL=false
org.eclipse.ptp.launch.ATTR_DEBUGGER_HOST=localhost
org.eclipse.ptp.launch.ATTR_REMOTE_EXECUTABLE_PATH=/home/Sebastian/testW/Test/Debug/Test
org.eclipse.ptp.launch.ATTR_SYNC_AFTER=false
org.eclipse.ptp.launch.ATTR_SYNC_BEFORE=false
org.eclipse.ptp.launch.ATTR_SYNC_RULES=[]
org.eclipse.ptp.launch.CONFIGURATION_NAME=Open MPI-Generic-Interactive
org.eclipse.ptp.launch.CONNECTION_NAME=Local
org.eclipse.ptp.launch.DEBUGGER_ARGS=--port=51091 --host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdm --debug=0
org.eclipse.ptp.launch.DEBUGGER_EXECUTABLE_PATH=/usr/local/bin/sdm
org.eclipse.ptp.launch.DEBUGGER_ID=org.eclipse.ptp.debug.sdm
org.eclipse.ptp.launch.DEBUGGER_SDM_BACKEND=gdb-mi
org.eclipse.ptp.launch.DEBUGGER_SDM_BACKEND_PATH=/usr/bin/gdm
org.eclipse.ptp.launch.DEBUGGER_SDM_EXECUTABLE=/usr/local/bin/sdm
org.eclipse.ptp.launch.DEBUGGER_START_MODE=run
org.eclipse.ptp.launch.DEBUGGER_USE_BUILTIN_SDM=true
org.eclipse.ptp.launch.PROJECT_ATTR=Test
org.eclipse.ptp.launch.REMOTE_SERVICES_ID=org.eclipse.ptp.remote.LocalServices
org.eclipse.ptp.launch.RESOURCE_MANAGER_NAME=25e8e9bf-c561-344e-9abc-4cd12336be73
org.eclipse.ptp.launch.STOP_IN_MAIN=true
orte_abort_timeout=1
orte_allocation_required=0
orte_assume_same_shell=1
orte_base_help_aggregate=1
orte_base_user_debugger=totalview #mpirun# -a #mpirun_args# : ddt -n #np# -start #executable# #executable_argv# #single_app# : fxp #mpirun# -a #mpirun_args#
orte_cpu_set=
orte_daemon_bootstrap=0
orte_daemon_fail=-1
orte_daemon_fail_delay=0
orte_daemon_spin=0
orte_debug=0
orte_debug_daemons=0
orte_debug_daemons_file=0
orte_debug_verbose=-1
orte_debugger_check_rate=0
orte_debugger_test_attach=0
orte_debugger_test_daemon=
orte_default_hostfile=/usr/lib64/mpi/gcc/openmpi/etc/openmpi-default-hostfile
orte_do_not_launch=0
orte_forward_job_control=0
orte_heartbeat_rate=0
orte_hetero_apps=0
orte_keep_fqdn_hostnames=0
orte_launch_agent=orted
orte_leave_session_attached=0
orte_no_session_dirs=
orte_num_boards=1
orte_num_cores=0
orte_num_sockets=0
orte_output_debugger_proctable=0
orte_output_filename=
orte_process_binding=
orte_rankfile=
orte_report_bindings=0
orte_report_events=
orte_report_launch_progress=0
orte_rsh_agent=ssh : rsh
orte_send_profile=0
orte_show_resolved_nodenames=0
orte_startup_timeout=0
orte_tag_output=0
orte_timeout_step=1000
orte_timestamp_output=0
orte_timing=0
orte_timing_details=0
orte_tmpdir_base=
orte_use_regexp=0
orte_xml_file=
orte_xml_output=0
orte_xterm=
osc=0
osc_base_verbose=0
osc_pt2pt_eager_limit=0
osc_pt2pt_no_locks=
osc_rdma_eager_send=-1
osc_rdma_no_locks=131072
osc_rdma_rdma_completion_wait=10
osc_rdma_use_buffers=32
osc_rdma_use_rdma=65536
paffinity=0
paffinity_base_verbose=0
paffinity_hwloc_priority=0
plm=
plm_base_verbose=0
plm_rsh_agent=ssh : rsh
plm_rsh_assume_same_shell=1
plm_rsh_daemonize_llspawn=0
plm_rsh_daemonize_qrsh=0
plm_rsh_delay=1
plm_rsh_disable_llspawn=0
plm_rsh_disable_qrsh=0
plm_rsh_force_rsh=0
plm_rsh_num_concurrent=128
plm_rsh_priority=10
plm_rsh_tree_spawn=0
plm_slurm_args=
plm_slurm_priority=0
pml= CFLAGS='-DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -finline-functions -fno-strict-aliasing -pthread' CPPFLAGS=' -I/home/abuild/rpmbuild/BUILD/openmpi-1.6/opal/mca/hwloc/hwloc132/hwloc/include -I/usr/include/infiniband -I/usr/include/infiniband' FFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' LDFLAGS=' ' --enable-shared --disable-static --prefix=/usr/lib64/mpi/gcc/openmpi --with-mpi=open_mpi --disable-aio
pml_base_verbose=
pml_bfo_allocator=
pml_cm_free_list_inc=vma
pml_cm_free_list_max=0
pml_cm_free_list_num=0
pml_cm_priority=0
pml_csum_allocator=0
pml_ob1_allocator=0
prefixOption=false
progArgs=
ptpDirectory=/home/Sebastian/.eclipsesettings
pubsub=error
pubsub_base_verbose=
pubsub_orte_priority=0
ras=
ras_base_display_alloc=0
ras_base_display_devel_alloc=0
ras_base_verbose=0
ras_cm_priority=0
ras_loadleveler_priority=90
ras_slurm_priority=75
rcache=0
rcache_base_verbose=0
rmaps=
rmaps_base_cpus_per_proc=1
rmaps_base_cpus_per_rank=1
rmaps_base_display_devel_map=0
rmaps_base_display_map=0
rmaps_base_loadbalance=0
rmaps_base_n_perboard=-1
rmaps_base_n_pernode=-1
rmaps_base_n_persocket=-1
rmaps_base_no_oversubscribe=0
rmaps_base_no_schedule_local=0
rmaps_base_pernode=0
rmaps_base_schedule_policy=slot
rmaps_base_slot_list=
rmaps_base_stride=1
rmaps_base_verbose=0
rmaps_load_balance_priority=0
rmaps_rank_file_path=
rmaps_rank_file_priority=0
rmaps_resilient_fault_grp_file=
rmaps_resilient_priority=0
rmaps_round_robin_priority=0
rmaps_seq_priority=0
rmaps_topo_priority=0
rml=
rml_base_verbose=0
rml_oob_priority=0
rml_wrapper=
routed=
routed_base_verbose=0
routed_binomial_priority=0
routed_cm_priority=0
routed_direct_priority=0
routed_linear_priority=0
routed_radix_priority=0
routed_slave_priority=0
shmem=10
shmem_base_verbose=
shmem_mmap_backing_file_base_dir=50
shmem_mmap_enable_nfs_warning=0
shmem_mmap_priority=
shmem_mmap_relocate_backing_file=1
shmem_posix_priority=0
shmem_sysv_priority=/dev/shm
sysinfo=
sysinfo_base_verbose=0
timer=10
timer_base_verbose=40
topo=
topo_base_verbose=0
valid_Basic.Options=25524 25659 allAttributes allocator allocator_base_verbose backtrace backtrace_base_verbose bml bml_base_verbose bml_r2_show_unreach_errors btl btl_base_verbose btl_base_warn_component_unused btl_self_bandwidth btl_self_eager_limit btl_self_exclusivity btl_self_flags btl_self_free_list_inc btl_self_free_list_max btl_self_free_list_num btl_self_latency btl_self_max_send_size btl_self_min_rdma_pipeline_size btl_self_rdma_pipeline_frag_size btl_self_rdma_pipeline_send_length btl_self_rndv_eager_limit btl_sm_bandwidth btl_sm_eager_limit btl_sm_exclusivity btl_sm_flags btl_sm_have_knem_support btl_sm_knem_dma_min btl_sm_knem_max_simultaneous btl_sm_latency btl_sm_max_send_size btl_sm_rndv_eager_limit btl_sm_use_knem btl_tcp_bandwidth btl_tcp_eager_limit btl_tcp_endpoint_cache btl_tcp_exclusivity btl_tcp_flags btl_tcp_if_exclude btl_tcp_if_include btl_tcp_if_seq btl_tcp_latency btl_tcp_max_send_size btl_tcp_min_rdma_pipeline_size btl_tcp_port_min_v4 btl_tcp_port_range_v4 btl_tcp_rdma_pipeline_frag_size btl_tcp_rdma_pipeline_send_length btl_tcp_rndv_eager_limit btl_tcp_use_nagle byNodeOption bySlotOption carto carto_auto_detect_priority carto_base_verbose carto_file_path carto_file_priority coll coll_base_verbose coll_basic_crossover coll_basic_priority coll_hierarch_bcast_alg coll_hierarch_detection_alg coll_hierarch_ignore_sm coll_hierarch_priority coll_hierarch_segment_size coll_hierarch_use_rdma coll_hierarch_verbose coll_inter_priority coll_inter_verbose coll_sm_comm_in_use_flags coll_sm_comm_num_segments coll_sm_control_size coll_sm_fragment_size coll_sm_info_num_procs coll_sm_priority coll_sm_shared_mem_used_data coll_sm_tree_degree coll_sync_barrier_after coll_sync_barrier_before coll_sync_priority coll_tuned_init_chain_fanout coll_tuned_init_tree_fanout coll_tuned_pre_allocate_memory_comm_size_limit coll_tuned_priority coll_tuned_use_dynamic_rules control.address control.user.name control.working.dir current_controller debuggerId disabled dpm dpm_base_verbose enabled_Basic.Options errmgr errmgr_base_verbose errmgr_default_priority ess ess_base_verbose ess_env_priority ess_hnp_priority ess_singleton_priority ess_slave_priority ess_slurm_priority ess_slurmd_priority ess_tool_priority executableDirectory executablePath extraArgs filem filem_base_verbose filem_rsh_cp filem_rsh_max_incomming filem_rsh_max_outgoing filem_rsh_priority filem_rsh_rcp filem_rsh_rsh filem_rsh_verbose grpcomm grpcomm_bad_priority grpcomm_base_verbose grpcomm_basic_priority grpcomm_hier_priority hostFileOption hostListOption hwloc hwloc_base_mem_alloc_policy hwloc_base_mem_bind_failure_action hwloc_base_verbose invalid_Basic.Options io io_base_freelist_increment io_base_freelist_initial_size io_base_freelist_max_size io_base_verbose io_romio_complete_configure_params io_romio_delete_priority io_romio_priority io_romio_user_configure_params io_romio_version iof iof_base_verbose launchMode local_prefix maffinity maffinity_base_verbose maffinity_first_use_priority maffinity_hwloc_priority mca_base_param_file_path mca_base_param_file_path_force mca_base_param_file_prefix mca_component_disable_dlopen mca_component_path mca_component_show_load_errors mca_param_files mca_verbose memchecker memory memory_base_verbose memory_linux_disable memory_linux_ptmalloc2_available memory_linux_ptmalloc2_enable memory_linux_ummunotify_available memory_linux_ummunotify_enable mpiNumberOfProcesses mpi_abort_delay mpi_abort_print_stack mpi_event_tick_rate mpi_have_sparse_group_storage mpi_keep_peer_hostnames mpi_leave_pinned mpi_leave_pinned_pipeline mpi_no_free_handles mpi_notify_init_finalize mpi_paffinity_alone mpi_param_check mpi_preconnect_all mpi_preconnect_mpi mpi_show_handle_leaks mpi_show_mca_params mpi_show_mca_params_file mpi_show_mpi_alloc_mem_leaks mpi_use_sparse_group_storage mpi_warn_on_fork mpi_yield_when_idle mpool mpool_base_verbose mpool_rdma_print_stats mpool_rdma_rcache_name mpool_rdma_rcache_size_limit mpool_sm_allocator mpool_sm_min_size mpool_sm_verbose mtl mtl_base_verbose noLocalOption noOversubscribeOption notifier notifier_base_verbose notifier_command_cmd notifier_command_priority notifier_command_timeout notifier_syslog_priority notifier_threshold_severity odls odls_base_sigkill_timeout odls_base_verbose odls_default_priority ompi_minor_version oob oob_base_verbose oob_tcp_connect_sleep oob_tcp_debug oob_tcp_disable_family oob_tcp_dynamic_ports oob_tcp_if_exclude oob_tcp_if_include oob_tcp_listen_mode oob_tcp_listen_thread_max_queue oob_tcp_listen_thread_wait_time oob_tcp_peer_limit oob_tcp_peer_retries oob_tcp_priority oob_tcp_rcvbuf oob_tcp_sndbuf oob_tcp_static_ports oob_tcp_verbose op_base_verbose opal_event_include opal_net_private_ipv4 opal_paffinity_alone opal_profile opal_profile_file opal_set_max_sys_limits opal_signal orte_abort_timeout orte_allocation_required orte_assume_same_shell orte_base_help_aggregate orte_base_user_debugger orte_cpu_set orte_daemon_bootstrap orte_daemon_fail orte_daemon_fail_delay orte_daemon_spin orte_debug orte_debug_daemons orte_debug_daemons_file orte_debug_verbose orte_debugger_check_rate orte_debugger_test_attach orte_debugger_test_daemon orte_default_hostfile orte_do_not_launch orte_forward_job_control orte_heartbeat_rate orte_hetero_apps orte_keep_fqdn_hostnames orte_launch_agent orte_leave_session_attached orte_no_session_dirs orte_num_boards orte_num_cores orte_num_sockets orte_output_debugger_proctable orte_output_filename orte_process_binding orte_rankfile orte_report_bindings orte_report_events orte_report_launch_progress orte_rsh_agent orte_send_profile orte_show_resolved_nodenames orte_startup_timeout orte_tag_output orte_timeout_step orte_timestamp_output orte_timing orte_timing_details orte_tmpdir_base orte_use_regexp orte_xml_file orte_xml_output orte_xterm osc osc_base_verbose osc_pt2pt_eager_limit osc_pt2pt_no_locks osc_rdma_eager_send osc_rdma_no_locks osc_rdma_rdma_completion_wait osc_rdma_use_buffers osc_rdma_use_rdma paffinity paffinity_base_verbose paffinity_hwloc_priority plm plm_base_verbose plm_rsh_agent plm_rsh_assume_same_shell plm_rsh_daemonize_llspawn plm_rsh_daemonize_qrsh plm_rsh_delay plm_rsh_disable_llspawn plm_rsh_disable_qrsh plm_rsh_force_rsh plm_rsh_num_concurrent plm_rsh_priority plm_rsh_tree_spawn plm_slurm_args plm_slurm_priority pml pml_base_verbose pml_bfo_allocator pml_cm_free_list_inc pml_cm_free_list_max pml_cm_free_list_num pml_cm_priority pml_csum_allocator pml_ob1_allocator prefixOption progArgs ptpDirectory pubsub pubsub_base_verbose pubsub_orte_priority ras ras_base_display_alloc ras_base_display_devel_alloc ras_base_verbose ras_cm_priority ras_loadleveler_priority ras_slurm_priority rcache rcache_base_verbose rmaps rmaps_base_cpus_per_proc rmaps_base_cpus_per_rank rmaps_base_display_devel_map rmaps_base_display_map rmaps_base_loadbalance rmaps_base_n_perboard rmaps_base_n_pernode rmaps_base_n_persocket rmaps_base_no_oversubscribe rmaps_base_no_schedule_local rmaps_base_pernode rmaps_base_schedule_policy rmaps_base_slot_list rmaps_base_stride rmaps_base_verbose rmaps_load_balance_priority rmaps_rank_file_path rmaps_rank_file_priority rmaps_resilient_fault_grp_file rmaps_resilient_priority rmaps_round_robin_priority rmaps_seq_priority rmaps_topo_priority rml rml_base_verbose rml_oob_priority rml_wrapper routed routed_base_verbose routed_binomial_priority routed_cm_priority routed_direct_priority routed_linear_priority routed_radix_priority routed_slave_priority shmem shmem_base_verbose shmem_mmap_backing_file_base_dir shmem_mmap_enable_nfs_warning shmem_mmap_priority shmem_mmap_relocate_backing_file shmem_posix_priority shmem_sysv_priority sysinfo sysinfo_base_verbose timer timer_base_verbose topo topo_base_verbose valid_Basic.Options visible_Basic.Options working.directory
visible_Basic.Options=byNodeOption bySlotOption hostFile hostFileOption hostList hostListOption mpiNumberOfProcesses noLocalOption noOversubscribeOption prefix prefixOption
working.directory=/home/Sebastian
OK, i updated the PTP Version to 7.0.4 and now it is working, do not know why.

Could not open include file error

I am trying to compile a C++ application on SUN server using the compiler Sun C++ 5.9 SunOS_sparc Patch 124863-01.However i am getting an compilation errror saying that the compiler could not include header file.However the header file exist on the same folder and on the specified path/
CC -Dbcc9 -Dsun10 -I/export/home/bcc/bb1/bccprod/bb/compilation/bh/bh_xx_1_70_1 -DENV_OPT -DENV_OPT -D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D__SUN -Dsun -Dsparc -DSunOS53 -DCONFIG_64BIT -DNEW_ANSI -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS -I/export/home/bcc/bb1/bccprod/bb/compilation/opt_nc/hpux11.x/generic/include -DSHARED_EXT=\"so\" -DF257054 -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/dxlib/include -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/udrlib/include -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/bat++/include -Dbcc_CONFIG -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/bat/include -DF227344_CR102 -DF267107 -DF267107_d -DF268560 -DG_SUN -DG_EH -I/export/home/bcc/bb1/bccprod/bb/compilation/opt_nc/hpux11.x/generic/include -DDEBUG -DORACLE_DB_BRAND -I/u01/app/oracle/product/10.2.0/db_1/precomp/public -I/u01/app/oracle/product/10.2.0/db_1/rdbms/public -I/u01/app/oracle/product/10.2.0/db_1/rdbms/demo -I/u01/app/oracle/product/10.2.0/db_1/plsql/public -I/u01/app/oracle/product/10.2.0/db_1/network/public -DF_TAP_311 -DF_LCS_310 -DF_RAP_103 -g -DCONTRACT_DETAILS -DCREDIT_DISPLAY -DSORT_BILLS -DSPLIT_BILL -DD_ROAMING -DSWAP_DATES -DFIXLASADDR -DFIXUSERID -DFIXBIGAMT -DNOPRINTZEROINV -DFIXIPBXDISP -DARABTRANS -DFIX_MKRTTEXT -DOCCDESC -DFIXBARCODE -DNEWTAX8 -DCARRY_OVER -I./include -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/bh/include -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/bat/include -I/export/home/bcc/bb1/bccprod/bb/LHS_TOOLS/product/JTG/prod/bcc/batch/src/bat++/include -I/export/home/bcc/bb1/bccprod/bb/compilation/opt_nc/hpux11.x/generic/include -I/export/home/bcc/bb1/bccprod/bb/compilation/opt_nc/hpux11.x/xalan/include -I/export/home/bcc/bb1/bccprod/bb/compilation/opt_nc/hpux11.x/xerces/include -I/usr/include -DSOLARIS -D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D__SUN -Dsun -Dsparc -DSunOS53 -DCONFIG_64BIT -DNEW_ANSI -D__EXTENSIONS__ -DF_TAP_311 -DF_LCS_310 -DF_RAP_103 -m64 -DNEW_ANSI -DG_ANSICPP -DG_LONGSIZE=64 -DGEN_INCIMP -w -KPIC -g -xs -c bhComponentController.cpp -o bhComponentController.o
"**./include/bhComponentController.hpp", line 20: Error: Could not open include file "ComponentController.hpp"**
"./include/bhComponentController.hpp", line 183: Error: ComponentController is not defined.
"./include/bhTerminationHandler.hpp", line 107: Error: Could not open include file "TerminationHandler.hpp".
"./include/bhTerminationHandler.hpp", line 113: Error: TerminationHandler is not defined.
"bhComponentController.cpp", line 47: Error: The function "setTerminationHandler" must have a prototype.
"bhComponentController.cpp", line 70: Error: The function "strcat" must have a prototype.
"bhComponentController.cpp", line 73: Error: The function "strcat" must have a prototype.
"bhComponentController.cpp", line 76: Error: The function "strcat" must have a prototype.
"bhComponentController.cpp", line 79: Error: The function "strcat" must have a prototype.
9 Error(s) detected.
gmake: *** [bhComponentController.o] Error 9
The error is saying
"Error:l Could not open include file "ComponentController.hpp"
however the file ./include/bhComponentController.hpp is there and readable on the specified location.
Any idea please?
add this one too -I/export/home/bcc/bb1/bccprod/bb/compilation/bh/bh_xx_1_70_1/include assumin g your sources are there.
or
I/pathtoyoursources/ #this is where bhComponentController.hpp is.
SO that you can include"bhComponentController.hpp" directly.