[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation warning of libgnokii.so.1.0
From: |
Olivier Kaloudoff |
Subject: |
Re: compilation warning of libgnokii.so.1.0 |
Date: |
Thu, 29 May 2003 11:11:48 +0200 (CEST) |
On Thu, 29 May 2003, sam foo wrote:
>hi all:
>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
Hi Sam,
you may use the following workaround for the
moment, to get a static compilation for your gnokii:
sh ./autogen.sh --disable-shared
make
>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
If you want the dynamic way,
On macosX, I have a problem with the --shared option,
that should be replaced by --shared-libgcc,
on other platforms I don't know.
Regards,
Olivier