[Top][All Lists]

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

Re: smsd-postgresql compilation error

From: Jan Derfinak
Subject: Re: smsd-postgresql compilation error
Date: Wed, 25 Jun 2003 12:04:40 +0200 (CEST)

On Wed, 25 Jun 2003 address@hidden wrote:

>   g_string_sprintf (buf, "%s/", smsdConfig.libDir,
> smsdConfig.dbMod); <--------------- error point this line 107

The function name is g_string_sprintf.
But your linker talking about g_string_printf.

gcc  smsd.o lowlevel.o   -lpthread `glib-config --libs` -s -rdynamic 
-L../common -lgnokii -ldl -o smsd
smsd.o: In function `LoadDB':
/usr/src/gnokii/smsd/smsd.c:107: undefined reference to `g_string_printf' 
collect2: ld returned 1 exit status
make: *** [smsd] Error 1

There is something weird in your system.
The function g_string_sprintf is defined in libglib*so and libglib.a.
But g_string_printf is unknown. If you have correct source I cannot
understand why your linker want g_string_printf.



reply via email to

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