gnokii-users
[Top][All Lists]
Advanced

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

Re: compilation warning of libgnokii.so.1.0


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

Hi,

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 
> libgnokii.so.1.0" 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,libgnokii.so.1 -o libgnokii.so.1.0 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 libgnokii.so.1: open failed: No such file or directory
> ld: fatal: File processing errors. No output written to libgnokii.so.1.0
> collect2: ld returned 1 exit status
> make[1]: *** [libgnokii.so] 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 autogen.sh) or try to install gnu ld. I can
compile a shared libgnokii on solaris 9 with gnu ld installed.

Bye,
Bozo




reply via email to

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