gnokii-users
[Top][All Lists]
Advanced

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

smsd compilation (0.5.0rc1)


From: mixo
Subject: smsd compilation (0.5.0rc1)
Date: Wed, 12 Mar 2003 12:51:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827

Gnokii sms sending ability is the feature I use the most. What I want to
know is, why not include an autoconf script for  smsd to determine
which libraries to compile? More than that, the could also be options
to include the different modules. As I use redhat, if the different libs
(file,mysql and pq), there could also be seperate rpms which include
a different like, like, smsd-file for files, smsd-mysql for mysql,etc


Compilation note:

libfile.so, libpq and lipmysql fail to compile. I have attached
the errors.
gcc -s -O2 -shared -o libfile.so `glib-config --cflags` -I../include \
        file.c `glib-config --libs`
In file included from ../include/gnokii/sms.h:37,
                 from ../include/gnokii/data.h:33,
                 from ../include/gnokii.h:42,
                 from smsd.h:34,
                 from file.c:38:
../include/gnokii/ringtones.h:156: parse error before `gn_ringtone_pack'
../include/gnokii/ringtones.h:156: warning: data definition has no type or 
storage class
file.c: In function `DB_ConnectInbox':
file.c:58: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:68: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c: In function `DB_ConnectOutbox':
file.c:84: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:89: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:99: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c: In function `DB_Look':
file.c:164: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:182: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:228: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:237: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:241: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
file.c:243: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
gmake: *** [libfile.so] Error 1
gcc -s -O2 -shared -o libmysql.so `glib-config --cflags` -I../include \
        -I/usr/include/mysql mysql.c `glib-config --libs` -L/usr/lib/mysql 
-lmysqlclient
In file included from ../include/gnokii/sms.h:37,
                 from ../include/gnokii/data.h:33,
                 from ../include/gnokii.h:42,
                 from smsd.h:34,
                 from mysql.c:36:
../include/gnokii/ringtones.h:156: parse error before `gn_ringtone_pack'
../include/gnokii/ringtones.h:156: warning: data definition has no type or 
storage class
mysql.c: In function `DB_ConnectInbox':
mysql.c:59: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:60: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c: In function `DB_ConnectOutbox':
mysql.c:78: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:79: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c: In function `DB_InsertSMS':
mysql.c:111: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:112: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c: In function `DB_Look':
mysql.c:137: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:138: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:145: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:146: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:192: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
mysql.c:193: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
gmake: *** [libmysql.so] Error 1
gcc -s -O2 -shared -o libpq.so `glib-config --cflags` -I../include \
        -I/usr/include/pgsql pq.c `glib-config --libs` -lpq
In file included from ../include/gnokii/sms.h:37,
                 from ../include/gnokii/data.h:33,
                 from ../include/gnokii.h:42,
                 from smsd.h:34,
                 from pq.c:36:
../include/gnokii/ringtones.h:156: parse error before `gn_ringtone_pack'
../include/gnokii/ringtones.h:156: warning: data definition has no type or 
storage class
pq.c: In function `DB_ConnectInbox':
pq.c:65: warning: passing arg 1 of `g_print' makes pointer from integer without 
a cast
pq.c:66: warning: passing arg 1 of `g_print' makes pointer from integer without 
a cast
pq.c: In function `DB_ConnectOutbox':
pq.c:87: warning: passing arg 1 of `g_print' makes pointer from integer without 
a cast
pq.c:88: warning: passing arg 1 of `g_print' makes pointer from integer without 
a cast
pq.c: In function `DB_InsertSMS':
pq.c:117: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
pq.c:118: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
pq.c: In function `DB_Look':
pq.c:147: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
pq.c:148: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
pq.c:198: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
pq.c:199: warning: passing arg 1 of `g_print' makes pointer from integer 
without a cast
gmake: *** [libpq.so] Error 1

reply via email to

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