[Bookbase-help] Help....
Status: Beta
Brought to you by:
kurzawa
|
From: Thad V. <tv...@al...> - 2003-01-09 12:25:54
|
Hello,
I don't know what I am doing wrong....Please point Me in the right direction...thanks :)
mysql version: Ver 11.16 Distrib 3.23.49, for redhat-linux-gnu (i386)
mysqladmin version: Ver 8.23 Distrib 3.23.49, for redhat-linux-gnu on i386
Here is a copy of the configure info:
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for lpr... /usr/bin/lpr
checking for mysql... /usr/bin/mysql
checking for mysqldump... /usr/bin/mysqldump
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for mysql/mysql.h... yes
checking for mysql_init in -lmysqlclient... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
Here is a copy of the compile output:
make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/home/thvargo/Booklist/bookbase-0.8.8'
Making all in src
make[2]: Entering directory `/home/thvargo/Booklist/bookbase-0.8.8/src'
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f main.c || echo './'`main.c
source='support.c' object='support.o' libtool=no \
depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f support.c || echo './'`support.c
source='interface.c' object='interface.o' libtool=no \
depfile='.deps/interface.Po' tmpdepfile='.deps/interface.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f interface.c || echo './'`interface.c
source='callbacks.c' object='callbacks.o' libtool=no \
depfile='.deps/callbacks.Po' tmpdepfile='.deps/callbacks.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f callbacks.c || echo './'`callbacks.c
source='printing.c' object='printing.o' libtool=no \
depfile='.deps/printing.Po' tmpdepfile='.deps/printing.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f printing.c || echo './'`printing.c
source='loan.c' object='loan.o' libtool=no \
depfile='.deps/loan.Po' tmpdepfile='.deps/loan.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c `test -f loan.c || echo './'`loan.c
gcc -g -O2 -Wall -o bookbase main.o support.o interface.o callbacks.o printing.o loan.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
callbacks.o: In function `runSQL':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:201: undefined reference to `mysql_real_query'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:207: undefined reference to `mysql_store_result'
callbacks.o: In function `connect_button_clicked':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:320: undefined reference to `mysql_init'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:325: undefined reference to `mysql_real_connect'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:327: undefined reference to `mysql_error'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:367: undefined reference to `mysql_num_rows'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:375: undefined reference to `mysql_num_rows'
callbacks.o: In function `disconnect_button_clicked':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:417: undefined reference to `mysql_close'
callbacks.o: In function `matching_author_found':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:459: undefined reference to `mysql_fetch_row'
callbacks.o: In function `matching_publisher_found':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:499: undefined reference to `mysql_fetch_row'
callbacks.o: In function `add_author_to_author_table':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:557: undefined reference to `mysql_fetch_row'
callbacks.o: In function `add_pub_to_pub_table':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:611: undefined reference to `mysql_fetch_row'
callbacks.o: In function `check_author_table':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:675: undefined reference to `mysql_num_rows'
callbacks.o: In function `check_publisher_table':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:735: undefined reference to `mysql_num_rows'
callbacks.o: In function `verify_unique_isbn':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:1043: undefined reference to `mysql_num_rows'
callbacks.o: In function `add_button_clicked':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:1212: undefined reference to `mysql_fetch_row'
callbacks.o: In function `modify_bookid':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:1635: undefined reference to `mysql_num_rows'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:1638: undefined reference to `mysql_fetch_row'
callbacks.o: In function `display_results':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:2017: undefined reference to `mysql_fetch_row'
callbacks.o: In function `search_button_clicked':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:2322: undefined reference to `mysql_num_rows'
callbacks.o: In function `on_status1_activate':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:2967: undefined reference to `mysql_get_host_info'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:2968: undefined reference to `mysql_get_proto_info'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:2969: undefined reference to `mysql_get_server_info'
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:2970: undefined reference to `mysql_get_client_info'
callbacks.o: In function `quit_button_clicked':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:3032: undefined reference to `mysql_close'
callbacks.o: In function `bookbase_destroy':
/home/thvargo/Booklist/bookbase-0.8.8/src/callbacks.c:3051: undefined reference to `mysql_close'
loan.o: In function `is_book_loaned':
/home/thvargo/Booklist/bookbase-0.8.8/src/loan.c:81: undefined reference to `mysql_num_rows'
/home/thvargo/Booklist/bookbase-0.8.8/src/loan.c:83: undefined reference to `mysql_fetch_row'
collect2: ld returned 1 exit status
make[2]: *** [bookbase] Error 1
make[2]: Leaving directory `/home/thvargo/Booklist/bookbase-0.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thvargo/Booklist/bookbase-0.8.8'
make: *** [all] Error 2
|