[Top][All Lists]

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

Problem compiling smsd fixed.

From: Dhillon Andrew Kannabhiran
Subject: Problem compiling smsd fixed.
Date: Sat, 13 Apr 2002 22:12:15 +0800

I was having some trouble compiling the in smsd ... kept getting
the following errors:


address@hidden smsd]# make
gcc -shared -o `glib-config --cflags` -I../include \
        -I/usr/local/include/mysql mysql.c
`glib-config --libs` -L/usr/local/lib/mysql -lmysqlclient
mysql.c: In function `DB_Look':
mysql.c:157: `GSM_MAX_DESTINATION_LENGTH' undeclared (first use in this
mysql.c:157: (Each undeclared identifier is reported only once
mysql.c:157: for each function it appears in.)
make: *** [] Error 1
address@hidden smsd]#


The fix is to add in the following to include/gsm-common.h
#define GSM_MAX_DESTINATION_LENGTH (40) and then edit mysql.c in the smsd
directory and do an #include "../include/gsm-common.h"; That fixes that
small compile problem but I'm still having smsd complain about not being
able to find even though it's in the right place! Any one else
having this problem? It's been giving me a headache the whole day!!! Oh yes,
the above fix is also needed to get rid of the same problem with make

Dhillon Andrew Kannabhiran,
Founder/Chief Executive Officer,
Hack In The Box -- Keeping Knowledge Free

reply via email to

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