[Top][All Lists]

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

Re: gnokii can be compiled on solaris

From: Marcus Pallinger
Subject: Re: gnokii can be compiled on solaris
Date: Wed, 17 Apr 2002 13:17:37 +1000
User-agent: Mutt/1.3.28i

> I managed to compile the current CVS on Solaris 9 beta. I had no time to
> test it, but it should work. If you want to compile don't forget to
> install flex. The bundled lex won't compile the vcal.lx file. This is
> a cvs snapshot, so working autoconf and autoheader is needed...

On Solaris 8, I'm getting lots of warnings about:
../../include/misc.h:151: warning: redefinition of `u_char'
/usr/include/sys/types.h:532: warning: `u_char' previously declared here

Plus I still get:
gcc -shared -o cfgreader.o device.o gsm-ringtones.o gsm-api.o 
gsm-networks.o vcal.o misc.o gsm-sms.o gsm-bitmaps.o gsm-common.o 
gsm-encoding.o gsm-error.o gsm-statemachine.o compat.o snprintf.o 
phones/PHONES.o links/LINKS.o devices/DEVICES.o
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x2f8       gsm-ringtones.o
<unknown>                           0x2fc       gsm-ringtones.o
<unknown>                           0x300       gsm-ringtones.o
<unknown>                           0x304       gsm-ringtones.o
<unknown>                           0x308       gsm-ringtones.o
<unknown>                           0x30c       gsm-ringtones.o
<unknown>                           0x310       gsm-ringtones.o
<unknown>                           0x314       gsm-ringtones.o
<unknown>                           0x318       gsm-ringtones.o
<unknown>                           0x31c       gsm-ringtones.o
<unknown>                           0x320       gsm-ringtones.o
<unknown>                           0x324       gsm-ringtones.o
<unknown>                           0x328       gsm-ringtones.o
in gnokii directory (I don't have the GNU bintools installed if that helps)

When compiling statically (configure --disable-shared) xgnokii
does not link:

gcc  -L../common -lgnokii xgnokii.o xgnokii_common.o xgnokii_contacts.o 
xgnokii_sms.o xgnokii_netmon.o xgnokii_dtmf.o xgnokii_cfg.o xgnokii_speed.o 
xgnokii_xkeyb.o xgnokii_calendar.o xgnokii_logos.o xgnokii_lowlevel.o 
xgnokii_data.o ../common/data/DATA.o ../common/gsm-filetypes.o -lsocket    
-L/usr/openwin/lib -lXpm -lX11 -lpthread -L/usr/local/lib -lgtk -lgdk -lgmodule 
-lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -o xgnokii
Undefined                       first referenced
 symbol                             in file
device_getfd                        ../common/data/DATA.o
GSM_SetPointBitmap                  xgnokii_logos.o
GSM_GetNote                         ../common/gsm-filetypes.o
GSM_Initialise                      xgnokii_lowlevel.o
GetSMSnoValidate                    xgnokii_lowlevel.o
GSM_DataClear                       xgnokii_lowlevel.o
GetSMS                              xgnokii_lowlevel.o
GSM_PackRingtone                    ../common/gsm-filetypes.o
DefaultSubmitSMS                    xgnokii_sms.o
SendSMS                             xgnokii_lowlevel.o
GSM_IsPointBitmap                   xgnokii_logos.o
readconfig                          xgnokii.o
GSM_GetNetworkName                  xgnokii_logos.o
GetFolderChanges                    xgnokii_lowlevel.o
GSM_Networks                        xgnokii_logos.o
GetPhoneModel                       xgnokii_lowlevel.o
GetModel                            xgnokii_lowlevel.o
GSM_GetNetworkCode                  xgnokii_logos.o
GSM_ResizeBitmap                    xgnokii_logos.o
SM_Loop                             ../common/data/DATA.o
SM_Functions                        xgnokii_lowlevel.o
GetLine                             ../common/gsm-filetypes.o
GSM_UnPackRingtone                  ../common/gsm-filetypes.o
GSM_ClearBitmap                     xgnokii_logos.o
GSM_ClearPointBitmap                xgnokii_logos.o
ld: fatal: Symbol referencing errors. No output written to xgnokii
collect2: ld returned 1 exit status
gmake[1]: *** [xgnokii] Error 1
gmake[1]: Leaving directory `/export/home/marcus/gnokii/xgnokii'
gmake: *** [all] Error 2

Command line gnokii works okay:
% ./gnokii --identify
GNOKII Version 0.4.0pre17
Manufacturer : Nokia
Model        : NSE-3
Revision     : SW05.48, HW4300

Drivers are strictly forbidden to drive their car in the opposite 
direction to the race -- FIA F1 Sporting Regulations (Section 90)

reply via email to

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