[olsr-dev] unknown file type of .so.0.1 in Solaris

Bernd Petrovitsch (spam-protected)
Mon Jul 31 12:05:19 CEST 2006


On Mon, 2006-07-31 at 02:28 -0700, shmily wrote:
[...]
> I try to build a Solaris version for olsr daemon. However, in cfgparser directory, I can not build the target. 
> I always have this error: 
> ================================ 
> fanny ~/olsrd-0.4.10 $ make 
> make -C src/cfgparser 
> make[1]: Entering directory `/olsrd-0.4.10/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 
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
> ld: warning: option -o appears more than once, first setting taken 
> ld: fatal: file olsrd_cfgparser.so.0.1: unknown file type 
> ld: fatal: File processing errors. No output written to olsrd_cfgparser.so.0.1 
> collect2: ld returned 1 exit status 
> make[1]: *** [olsrd_cfgparser.so.0.1] Error 1 
> ================================ 
> Do you have any idea? 

My experiences with Solaris is years old (2.5 was current at that time)
but above underlined options look like they specify more or less the
same. So get rid of one of them.

	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