<DIV>Thank you for your reply. I omitted one of them and used gcc but the error is still the same</DIV> <DIV><PRE>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 </PRE><PRE> </PRE></DIV> <DIV> </DIV> <DIV> </DIV>
<DIV><BR><BR><B><I>Bernd Petrovitsch <bernd@firmix.at></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, 2006-07-31 at 02:28 -0700, shmily wrote:<BR>[...]<BR>> I try to build a Solaris version for olsr daemon. However, in cfgparser directory, I can not build the target. <BR>> I always have this error: <BR>> ================================ <BR>> fanny ~/olsrd-0.4.10 $ make <BR>> make -C src/cfgparser <BR>> make[1]: Entering directory `/olsrd-0.4.10/src/cfgparser' <BR>> 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 <BR>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^<BR>> ld: warning: option -o appears more than once, first setting taken <BR>> ld: fatal: file olsrd_cfgparser.so.0.1: unknown file type <BR>> ld: fatal: File processing errors. No output written
to olsrd_cfgparser.so.0.1 <BR>> collect2: ld returned 1 exit status <BR>> make[1]: *** [olsrd_cfgparser.so.0.1] Error 1 <BR>> ================================ <BR>> Do you have any idea? <BR><BR>My experiences with Solaris is years old (2.5 was current at that time)<BR>but above underlined options look like they specify more or less the<BR>same. So get rid of one of them.<BR><BR>Bernd<BR>-- <BR>Firmix Software GmbH http://www.firmix.at/<BR>mobil: +43 664 4416156 fax: +43 1 7890849-55<BR>Embedded Linux Development and Services<BR><BR><BR>_______________________________________________<BR>olsr-dev mailing list<BR>olsr-dev@olsr.org<BR>https://www.olsr.org/mailman/listinfo/olsr-dev<BR></BLOCKQUOTE><BR><p>
<hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com"> Great rates starting at 1¢/min.