[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation warning of

From: BORBELY Zoltan
Subject: Re: compilation warning of
Date: Thu, 12 Jun 2003 17:51:24 +0200
User-agent: Mutt/1.4.1i


On Thu, May 29, 2003 at 04:29:34PM +0800, sam foo wrote:
> i'm having some warning saying that the" No output written to 
>" at the end of the compilation, can anyone help answer the 
> problems ? thank you very much


> make[1]: Entering directory `/tmp/gnokii/common'
> gcc -shared -Wl,-soname, -o gsm-api.o 
> gsm-error.o gsm-statemachine.o cfgreader.o device.o vcal.o vcard.o 
> gsm-networks.o gsm-filetypes.o gsm-ringtones.o gsm-bitmaps.o gsm-sms.o 
> gsm-call.o gsm-encoding.o gsm-common.o sms-nokia.o nokia-decoding.o 
> compat.o misc.o snprintf.o phones/PHONES.o links/LINKS.o devices/DEVICES.o
> ld: warning: option -o appears more than once, first setting taken
> ld: fatal: file open failed: No such file or directory
> ld: fatal: File processing errors. No output written to
> collect2: ld returned 1 exit status
> make[1]: *** [] Error 1
> make[1]: Leaving directory `/tmp/gnokii/common'
> make: *** [common] Error 2

It seems the ld treats -soname as "-s -o...". Add the --disable-shared
switch to configure (or or try to install gnu ld. I can
compile a shared libgnokii on solaris 9 with gnu ld installed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]