[olsr-dev] question about gcc-4.0

Bernd Petrovitsch (spam-protected)
Thu Dec 29 00:09:20 CET 2005


On Wed, 2005-12-28 at 21:36 +0100, Aaron Kaplan wrote:
> On Dec 28, 2005, at 8:53 PM, Aaron Kaplan wrote:
> > Anybody compiled olsrd-current with gcc-4.0?
> 
> well, for what it is worth:
> here is the olsrd-current compile output on mac os x
> 
> hacker-199-228:~/olsrd-current aaron$ make OS=osx
> make -C src/cfgparser
> cc -Wl,-export-dynamic  -shared -Wl,-soname,olsrd_cfgparser.so.0.1 -o  
> olsrd_cfgparser.so.0.1 olsrd_conf.o oparse.o oscan.o cfgfile_gen.o
> powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-shared'
> /usr/bin/ld: unknown flag: -export-dynamic
> collect2: ld returned 1 exit status
> make[1]: *** [olsrd_cfgparser.so.0.1] Error 1
> make: *** [cfgparser] Error 2
> hacker-199-228:~/olsrd-current aaron$

----  snip  ----
{28}gcc -dumpversion
4.0.2
{29}make -C src/cfgparser
[...]
cc -Wl,-export-dynamic  -shared -Wl,-soname,olsrd_cfgparser.so.0.1 -o
olsrd_cfgparser.so.0.1 olsrd_conf.o oparse.o oscan.o cfgfile_gen.o
----  snip  ----

Hmm, a 4.0.0 problem which is already solved?

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services







More information about the Olsr-dev mailing list