RE problem building posix bsp
Sebastien BARRE
sbarre at sdelcc.com
Tue Jun 6 09:19:18 UTC 2006
Hi,
When I had -lstdc++ to the command line, like this :
gcc --pipe -B../../../../../lib/ -B../../../../../posix/lib/ -specs
bsp_specs -qrtems -D_BSD_SOURCE -O2 -g -Wall -ansi -fasm -o
o-optimize/hello.exe o-optimize/init.o
../../../../../posix/lib/no-dpmem.rel
../../../../../posix/lib/no-event.rel ../../../../../posix/lib/no-msg.rel
../../../../../posix/lib/no-mp.rel ../../../../../posix/lib/no-part.rel
../../../../../posix/lib/no-signal.rel
../../../../../posix/lib/no-timer.rel
../../../../../posix/lib/no-rtmon.rel
-lstdc++
It works !
I would like to just do 'gmake all' to compile the bsp, so
Do you know where I can specify that this library is needed in the
Makefile structure of RTEMS ?
Thank you very much.
-
Sébastien Barré
Recherche et Développement
SDEL Contrôle Commande
D2A - Rue Nungesser et Coli
44860 Saint Aignan de Grand Lieu
FRANCE
Tél : 02 40 84 50 88
Fax : 02 40 84 51 10
Sebastien BARRE <sbarre at sdelcc.com>
02/06/2006 10:57
A
rtems-users at rtems.com
cc
Objet
problem building posix bsp
Hi,
I try to build posix bsp on rtems 4.6.4.
I configure like this :
../../src/configure --enable-posix --enable-networking --disable-itron
--disable-rdbg --enable-cxx --enable-test --disable-multiprocessing
--enable-rtems-inlines --disable-rtems-debug --disable-multilib
--disable-docs --enable-rtemsbsp=posix
--prefix=/opt1/app/OARCorp/rtems-4.6.4/bsp/posix/
Then make all :
gmake[5]: Entre dans le répertoire
`/opt1/app/OARCorp/rtems-4.6.4/build/posix/c/posix/tests/samples/hello'
mkdir o-optimize
gcc --pipe -B../../../../../lib/ -B../../../../../posix/lib/ -specs
bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\"
-DPACKAGE_VERSION=\"4.6.4\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\
4.6.4\" -DPACKAGE_BUGREPORT=\"rtems-bugs at rtems.com\" -isystem
../../../../../posix/lib/include -D_BSD_SOURCE -O2 -g -Wall -ansi
-fasm -o o-optimize/init.o -c
../../../../../../../src/c/src/tests/samples/hello/init.c
gcc --pipe -B../../../../../lib/ -B../../../../../posix/lib/ -specs
bsp_specs -qrtems -D_BSD_SOURCE -O2 -g -Wall -ansi -fasm -o
o-optimize/hello.exe o-optimize/init.o
../../../../../posix/lib/no-dpmem.rel
../../../../../posix/lib/no-event.rel ../../../../../posix/lib/no-msg.rel
../../../../../posix/lib/no-mp.rel ../../../../../posix/lib/no-part.rel
../../../../../posix/lib/no-signal.rel
../../../../../posix/lib/no-timer.rel
../../../../../posix/lib/no-rtmon.rel
../../../../../posix/lib/librtemsbsp.a(rtems-ctor.o)(.eh_frame+0x11):../../../../../../../../../src/c/src/lib/libbsp/unix/posix/startup/rtems-ctor.cc:71:
référence indéfinie vers « __gxx_personality_v0 »
collect2: ld a retourné 1 code d'état d'exécution
gmake[5]: *** [o-optimize/hello.exe] Erreur 1
Have you got an idea about this error ?
Thanks a lot
-
Sébastien Barré
Recherche et Développement
SDEL Contrôle Commande
D2A - Rue Nungesser et Coli
44860 Saint Aignan de Grand Lieu
FRANCE
Tél : 02 40 84 50 88
Fax : 02 40 84 51 10
More information about the users
mailing list