[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"make libmysql.so" problem - smsd
From: |
Winston Ng |
Subject: |
"make libmysql.so" problem - smsd |
Date: |
04 Mar 2003 10:19:41 -0800 |
This problem was posted under a different thread "SMSD Compilation
error" but sidetracked by another issue. So here it goes again...
I've updated CVS just a second ago, did a "make" under gnokii/smsd
directory successfully but doing a "make libmysql.so" generates list of
errors. Seems that it doesn't like the "API" word in the *.h files
located in gnokii/include directory. Any ideas?
Thanks all who've helped me looked into the SMSD compilation issues!!
--- SNIPPET OF ERRORS ---
make libmysql.so
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.h:42,
from smsd.h:34,
from mysql.c:36:
../include/gnokii/virtmodem.h:44: syntax error before "int"
../include/gnokii/virtmodem.h:48: syntax error before "void"
../include/gnokii/virtmodem.h:49: syntax error before "void"
In file included from smsd.h:34,
from mysql.c:36:
../include/gnokii.h:44: syntax error before "struct"
--- SNIPPET FROM gnokii.h ---
#ifndef _gnokii_gsm_api_h
#define _gnokii_gsm_api_h
#include "gnokii/sms.h"
#include "gnokii/call.h"
#include "gnokii/common.h"
#include "gnokii/data.h"
#include "gnokii/networks.h"
#include "gnokii/statemachine.h"
#include "gnokii/virtmodem.h"
API struct gn_cfg_header *gn_cfg_info;
/* SMS */
API gn_error gn_sms_send(gn_data *data, struct gn_statemachine *state);
API gn_error gn_sms_save(gn_data *data, struct gn_statemachine *state);
API gn_error gn_sms_get(gn_data *data, struct gn_statemachine *state);
----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- "make libmysql.so" problem - smsd,
Winston Ng <=