-bash-2.05b$ cc -o a a.c /tmp/ccpuyrOc.o: In function `main': /tmp/ccpuyrOc.o(.text+0xc): undefined reference to `mysql_init' /tmp/ccpuyrOc.o(.text+0x29): undefined reference to `mysql_error' /tmp/ccpuyrOc.o(.text+0x6f): undefined reference to `mysql_real_connect' /tmp/ccpuyrOc.o(.text+0x87): undefined reference to `mysql_error' /tmp/ccpuyrOc.o(.text+0xb9): undefined reference to `mysql_query' /tmp/ccpuyrOc.o(.text+0xc8): undefined reference to `mysql_store_result' /tmp/ccpuyrOc.o(.text+0xdc): undefined reference to `mysql_num_fields' /tmp/ccpuyrOc.o(.text+0xf0): undefined reference to `mysql_fetch_row' /tmp/ccpuyrOc.o(.text+0x10c): undefined reference to `mysql_fetch_lengths' /tmp/ccpuyrOc.o(.text+0x19c): undefined reference to `mysql_free_result' /tmp/ccpuyrOc.o(.text+0x1ab): undefined reference to `mysql_close'
-bash-2.05b$ cc -o a a.c /usr/local/lib/mysql/libmysqlclient.a /usr/local/lib/mysql/libmysqlclient.a(password.o): In function `scramble': password.o(.text+0x288): undefined reference to `floor' password.o(.text+0x2dd): undefined reference to `floor' /usr/local/lib/mysql/libmysqlclient.a(password.o): In function `check_scramble': password.o(.text+0x39c): undefined reference to `floor' password.o(.text+0x3fc): undefined reference to `floor' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0xb0): undefined reference to `compress' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x121): undefined reference to `uncompress'
-bash-2.05b$ cc -o a -lm a.c /usr/local/lib/mysql/libmysqlclient.a /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_a lloc': my_compress.o(.text+0xb0): undefined reference to `compress' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress ': my_compress.o(.text+0x121): undefined reference to `uncompress'
-bash-2.05b$ cc -o a -lm a.c /usr/local/lib/mysql/libmysqlclient.a /usr/ports/lang/php4/work/php-4.2.3/ext/zlib/.libs/libzlib.a /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0xb0): undefined reference to `compress' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x121): undefined reference to `uncompress'
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.