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

shmily (spam-protected)
Tue Aug 1 11:15:10 CEST 2006


Thank you for your reply. I omitted one of them and used gcc but the error is still the same
  
make -C src/cfgparser  make[1]: Entering directory '/olsrd-0.4.10/src/cfgparser'  gcc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations  -Wsign-compare -O2 -g -MD -Isrc -I../../src  -D__Solaris__ -DMAKELIB   -c -o  olsrd_conf.o olsrd_conf.c  gcc -Wl,-export-dynamic  -shared -Wl,-soname,olsrd_cfgparser.so.0.1 -o 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: open failed: No such file or directory  ld: fatal: File processing errors. No output written to olsrd_conf.o  collect2: ld returned 1 exit status  make[1]: *** [olsrd_cfgparser.so.0.1] Error 1  make[1]: Leaving directory '/olsrd-0.4.10/src/cfgparser'  make: *** [cfgparser] Error 2  

 

   
   
  

Bernd Petrovitsch <(spam-protected)> wrote:
  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


_______________________________________________
olsr-dev mailing list
(spam-protected)
https://www.olsr.org/mailman/listinfo/olsr-dev


 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1ยข/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20060801/5821f556/attachment.html>


More information about the Olsr-dev mailing list