Closed thesammiller closed 3 years ago
Can you run make debug=0 -j 4 -Orecurse -N
, so add -N
, that doesn't filter the output of the compiler.
Are you trying a cross compile or a native build on the Jetson Nano, we haven't tested on the jetson nano so it could be that there is a problem. What g++ version do you want to use and how is the executable called, some special name?
Thank you for your help. I am trying a native build on the Jetson Nano. It should hopefully be similar to a build on a Raspberry Pi 64-bit running Ubuntu 18.04.
Output of g++ --version
:
g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
I get an error on -N
and I'm not sure why (output is the help list of command line flags). Here is the output for make debug=0 -j 4 -Orecurse
, which seems to have an issue with g++: error: unrecognized command line option ‘-m32’
:
GNUmakefile: /home/smiller/Development/tao/axcioma/taox11/tao/x11/GNUmakefile.ridl_orb_idl MAKEFLAGS=w -j -Orecurse --jobserver-fds=4,5 -- debug=0
make[1]: Leaving directory '/home/smiller/Development/tao/axcioma/taox11/tao/x11'
make[1]: Entering directory '/home/smiller/Development/tao/axcioma/ACE/ACE/ace'
GNUmakefile: /home/smiller/Development/tao/axcioma/ACE/ACE/ace/GNUmakefile.ACE MAKEFLAGS=w -j -Orecurse --jobserver-fds=4,5 -- debug=0
g++ -Wnon-virtual-dtor -fvisibility=hidden -fvisibility-inlines-hidden -O3 -m32 -pthread -fno-strict-aliasing -Wall -Wextra -Wpointer-arith -pipe -D_GNU_SOURCE -DNDEBUG -I/home/smiller/Development/tao/axcioma/ACE/ACE -DACE_NDEBUG -D__ACE_INLINE__ -I.. -DACE_BUILD_DLL -c -fPIC -o .shobj/ACE.o /home/smiller/Development/tao/axcioma/ACE/ACE/ace/ACE.cpp
g++: error: unrecognized command line option ‘-m32’
/home/smiller/Development/tao/axcioma/ACE/ACE/include/makeinclude/rules.local.GNU:189: recipe for target '.shobj/ACE.o' failed
make[1]: *** [.shobj/ACE.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++ -Wnon-virtual-dtor -fvisibility=hidden -fvisibility-inlines-hidden -O3 -m32 -pthread -fno-strict-aliasing -Wall -Wextra -Wpointer-arith -pipe -D_GNU_SOURCE -DNDEBUG -I/home/smiller/Development/tao/axcioma/ACE/ACE -DACE_NDEBUG -D__ACE_INLINE__ -I.. -DACE_BUILD_DLL -c -fPIC -o .shobj/ACE_crc32.o /home/smiller/Development/tao/axcioma/ACE/ACE/ace/ACE_crc32.cpp
g++: error: unrecognized command line option ‘-m32’
/home/smiller/Development/tao/axcioma/ACE/ACE/include/makeinclude/rules.local.GNU:189: recipe for target '.shobj/ACE_crc32.o' failed
make[1]: *** [.shobj/ACE_crc32.o] Error 1
g++ -Wnon-virtual-dtor -fvisibility=hidden -fvisibility-inlines-hidden -O3 -m32 -pthread -fno-strict-aliasing -Wall -Wextra -Wpointer-arith -pipe -D_GNU_SOURCE -DNDEBUG -I/home/smiller/Development/tao/axcioma/ACE/ACE -DACE_NDEBUG -D__ACE_INLINE__ -I.. -DACE_BUILD_DLL -c -fPIC -o .shobj/ACE_crc_ccitt.o /home/smiller/Development/tao/axcioma/ACE/ACE/ace/ACE_crc_ccitt.cpp
g++: error: unrecognized command line option ‘-m32’
/home/smiller/Development/tao/axcioma/ACE/ACE/include/makeinclude/rules.local.GNU:189: recipe for target '.shobj/ACE_crc_ccitt.o' failed
make[1]: *** [.shobj/ACE_crc_ccitt.o] Error 1
make[1]: Leaving directory '/home/smiller/Development/tao/axcioma/ACE/ACE/ace'
GNUmakefile:269: recipe for target 'ACE-target' failed
make: *** [ACE-target] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/smiller/Development/tao/axcioma/ciaox11/ccm'
GNUmakefile: /home/smiller/Development/tao/axcioma/ciaox11/ccm/GNUmakefile.ciaox11_ccm_object_idl MAKEFLAGS=w -j -Orecurse --jobserver-fds=4,5 -- debug=0
make[1]: Leaving directory '/home/smiller/Development/tao/axcioma/ciaox11/ccm'
make[1]: Entering directory '/home/smiller/Development/tao/axcioma/taox11/tao/x11/anytypecode'
GNUmakefile: /home/smiller/Development/tao/axcioma/taox11/tao/x11/anytypecode/GNUmakefile.taox11_anytypecode_idl MAKEFLAGS=w -j -Orecurse --jobserver-fds=4,5 -- debug=0
make[1]: Leaving directory '/home/smiller/Development/tao/axcioma/taox11/tao/x11/anytypecode'
make[1]: Entering directory '/home/smiller/Development/tao/axcioma/ciaox11/ccm'
GNUmakefile: /home/smiller/Development/tao/axcioma/ciaox11/ccm/GNUmakefile.ciaox11_ccm_core_idl MAKEFLAGS=w -j -Orecurse --jobserver-fds=4,5 -- debug=0
make[1]: Leaving directory '/home/smiller/Development/tao/axcioma/ciaox11/ccm'
Could you try to change in $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
the line buildbits=32
to buildbits=64
or buildbits=0
and with both alternatives try make again?
The platform bits size can be specified with -b
as part of brix11 configure
step.
The make command should be brix11 make -N
, the -N
is an option of brix11, my mistake in an earlier comment
I was able to run brix11 configure -b 0
and then brix11 make
(-b 8
output BRIX11 - ERROR : Invalid bitsize specified [8]. Supported sizes are 0, 32 or 64.
and -b 64
had a problem with -m64
).
Thank you for your help! I am now able to build and run a test.
Product AXCIOMA
Version Using latest commit 31003da939cb2dbf65a4636a75fb3731c11826fc
Describe the issue After a clean install, running
bin/brix11 make
results in the following errors. I have had success building on another platform, so my best guess is that there are issues related to architecture or operating system.Environment: