x99_rlm.c:550: error: label at end of compound statement
admin at zgora.ru
admin at zgora.ru
Sat Jun 25 10:00:27 CEST 2005
Здравствуйте, Paul.
Вы писали 25 июня 2005 г., 6:49:39:
PH> On Fri, Jun 24, 2005 at 02:58:14PM +0600, admin at zgora.ru wrote:
>> make faild with this error...
>> gcc -shared sql_mysql.lo -L/usr/lib -L/usr/lib/mysql
>> /usr/lib/libmysqlclient.so -lz -lm -lssl -lcrypto -Wl,-soname
>> -Wl,rlm_sql_mysql-1.0.1.so -o .libs/rlm_sql_mysql-1.0.1.so
>> /usr/bin/ld: cannot find -lz
>> collect2: ld returned 1 exit status
>> gmake[10]: *** [rlm_sql_mysql.la] Error 1
>>
>> What is -lz ?
PH> zlib. mySQL depends on it, so I'm surprised you got
PH> mySQL in place without it...
ok, actually simply symlink /usr/lib/libz.so > /usr/lib/libz.so.1 and
ldconfig :))))
but new error was occured :(
gmake[6]: Entering directory `/tmp/freeradius-1.0.1/src/modules/rlm_x99_token'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I../../include -DX99_MODULE_NAME=\"rlm_x99_token\" -DFREERADIUS -c x99_rlm.c -o x99_rlm.o
x99_rlm.c: In function `x99_token_authenticate':
x99_rlm.c:550: error: label at end of compound statement
gmake[6]: *** [x99_rlm.o] Error 1
More information about the Freeradius-Users
mailing list