From: Brian M. <bm...@se...> - 2006-08-09 18:49:40
|
Make sure you are running ./configure again and make clean before you make. -----Original Message----- From: rli...@li... [mailto:rli...@li...] On Behalf Of Bob Doan Sent: Wednesday, August 09, 2006 2:46 PM To: Ben D. Benner Cc: rli...@li... Subject: Re: [Rlib-users] RLIB & MySQL 5.0 Try downloading it again. It seems you didn't get my fix. ( I removed mysql link from src/examples/c/Makefile.am) - Bob On Wed, 2006-08-09 at 12:42 -0500, Ben D. Benner wrote: > Nope, I am still getting that same problem. >=20 > I installed yum and ran it to update the gcc and glibc packages. Below is a=20 > bit more of the output, it seems to be the same stuff, no real change. If=20 > you can shed some light, it would be appreciated. The guru I keep=20 > mentioning, happens to be with me in Dallas today, I am going to try to=20 > steal him out of the meeting for a few minutes. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > make[3]: Leaving directory `/usr/src/rlib-1.3.7/inputs/mysql' > Making all in odbc > make[3]: Entering directory `/usr/src/rlib-1.3.7/inputs/odbc' > source=3D'odbc.c' object=3D'odbc.lo' libtool=3Dyes \ > depfile=3D'.deps/odbc.Plo' tmpdepfile=3D'.deps/odbc.TPlo' \ > depmode=3Dgcc3 /bin/sh ../../depcomp \ > /bin/sh ../../libtool --mode=3Dcompile=20 > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0=20 > -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 -fno-strength-reduce=20 > -I/usr/include -I/usr/include -I../../libsrc -g -O2 -c -o odbc.lo=20 > `test -f 'odbc.c' || echo './'`odbc.c > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0=20 > -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib = -mcpu=3Di486 -fno-strength-reduce=20 > -I/usr/include -I/usr/include -I../../libsrc -g -O2 -c odbc.c -MT=20 > odbc.lo -MD -MP -MF .deps/odbc.TPlo -fPIC -DPIC -o .libs/odbc.o > `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. > /bin/sh ../../libtool --mode=3Dlink=20 > gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_GNU_SOURCE -Wall=20 > -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql=20 > -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 = -fno-strength-reduce -I/usr/include=20 > -I/usr/include -I../../libsrc -g -O2 -o libr-odbc.la -rpath=20 > /usr/lib -version-info 4:7:3 -module -avoid-version=20 > bc.lo -lglib-2.0 -L/usr/lib -lodbc -lm -lc > gcc -shared=20 > .libs/odbc.o -L/usr/local/lib -lglib-2.0 -L/usr/lib -lodbc -lm -lc -mcpu=3Di486=20 > -Wl,-soname -Wl,libr-odbc.so -o .libs/libr-odbc.so > creating libr-odbc.la > (cd .libs && rm -f libr-odbc.la && ln -s ../libr-odbc.la libr-odbc.la) > make[3]: Leaving directory `/usr/src/rlib-1.3.7/inputs/odbc' > make[3]: Entering directory `/usr/src/rlib-1.3.7/inputs' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/usr/src/rlib-1.3.7/inputs' > make[2]: Leaving directory `/usr/src/rlib-1.3.7/inputs' > Making all in bindings > make[2]: Entering directory `/usr/src/rlib-1.3.7/bindings' > Making all in php > make[3]: Entering directory `/usr/src/rlib-1.3.7/bindings/php' > source=3D'environment.c' object=3D'environment.lo' libtool=3Dyes \ > depfile=3D'.deps/environment.Plo' = tmpdepfile=3D'.deps/environment.TPlo' \ > depmode=3Dgcc3 /bin/sh ../../depcomp \ > /bin/sh ../../libtool --mode=3Dcompile=20 > -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql=20 > -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 = -fno-strength-reduce -I/usr/include=20 > -I/usr/include -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM=20 > -I/usr/local/include/php/Zend -g -O2 -c -o environment.lo `test -f=20 > 'environment.c' || echo './'`environment.c > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include =20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -I/usr/local/include=20 > -L/usr/local/lib -mcpu=3Di486 -fno-strength-reduce -I/usr/include -I/usr/include=20 > -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM=20 > -I/usr/local/include/php/Zend -g -O2 -c environment.c -MT=20 > environment.lo -MD -MP -MF .deps/environment.TPlo -fPIC -DPIC -o=20 > .libs/environment.o > `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. > source=3D'php.c' object=3D'php.lo' libtool=3Dyes \ > depfile=3D'.deps/php.Plo' tmpdepfile=3D'.deps/php.TPlo' \ > depmode=3Dgcc3 /bin/sh ../../depcomp \ > /bin/sh ../../libtool --mode=3Dcompile=20 > -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql=20 > -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 = -fno-strength-reduce -I/usr/include=20 > -I/usr/include -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM=20 > -I/usr/local/include/php/Zend -g -O2 -c -o php.lo `test -f 'php.c' || echo=20 > './'`php.c > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include =20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -I/usr/local/include=20 > -L/usr/local/lib -mcpu=3Di486 -fno-strength-reduce -I/usr/include -I/usr/include=20 > -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM=20 > -I/usr/local/include/php/Zend -g -O2 -c php.c -MT php.lo -MD -MP -MF=20 > .deps/php.TPlo -fPIC -DPIC -o .libs/php.o > `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. > source=3D'array_data_source.c' object=3D'array_data_source.lo' = libtool=3Dyes \ > depfile=3D'.deps/array_data_source.Plo'=20 > tmpdepfile=3D'.deps/array_data_source.TPlo' \ > depmode=3Dgcc3 /bin/sh ../../depcomp \ > /bin/sh ../../libtool --mode=3Dcompile=20 > -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql=20 > -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 = -fno-strength-reduce -I/usr/include=20 > -I/usr/include -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM=20 > -I/usr/local/include/php/Zend -g -O2 -c -o array_data_source.lo `test -f=20 > 'array_data_source.c' || echo './'`array_data_source.c > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include =20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -I/usr/local/include=20 > -L/usr/local/lib -mcpu=3Di486 -fno-strength-reduce -I/usr/include -I/usr/include=20 > -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM=20 > -I/usr/local/include/php/Zend -g -O2 -c array_data_source.c -MT=20 > array_data_source.lo -MD -MP -MF=20 > .deps/array_data_source.TPlo -fPIC -DPIC -o .libs/array_data_source.o > `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. > /bin/sh ../../libtool --mode=3Dlink=20 > gcc -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2=20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0=20 > -I/usr/lib/glib-2.0/include -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib=20 > -mcpu=3Di486 -fno-strength-reduce -I/usr/include -I/usr/include -I/usr/local/include/php=20 > -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend=20 > -g -O2 -o rlib.la -rpath=20 > /usr/local/lib/php/extensions/no-debug-non-zts-20020429 -version-info=20 > :7:3 -module -avoid-version environment.lo php.lo array_data_source.lo=20 > ../../libsrc/libr.la -lxml2 -lpthread -lz -lm -lglib-2.0 -Wl,--export-dynamic=20 > -lgmodule-2.0 -ldl -lglib-2.0 -lXpm -lX11 -ljpeg -lfontconfig -lfreetype=20 > -lpng12 -lz -lm -L/usr/lib -L/usr/X11R6/lib -lgd -lm -lc > gcc -shared .libs/environment.o .libs/php.o=20 > libs/array_data_source.o -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/libsrc/.libs -L/usr/local/lib=20 > ../../libsrc/.libs/libr.so -L/usr/lib -L/usr/X11R6/lib -L/usr/src/rlib-1.3.7/rpdf/.libs=20 > -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 -lXpm -lX11=20 > /usr/lib/libjpeg.so -lfontconfig=20 > /usr/lib/libfreetype.so -lpng12 -lz -lgd -lm -lc -mcpu=3Di486 -Wl,--export-dynamic=20 > -Wl,-soname -Wl,rlib.so -o .libs/rlib.so > creating rlib.la > (cd .libs && rm -f rlib.la && ln -s ../rlib.la rlib.la) > make[3]: Leaving directory `/usr/src/rlib-1.3.7/bindings/php' > Making all in interfaces > make[3]: Entering directory `/usr/src/rlib-1.3.7/bindings/interfaces' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/usr/src/rlib-1.3.7/bindings/interfaces' > make[3]: Entering directory `/usr/src/rlib-1.3.7/bindings' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/usr/src/rlib-1.3.7/bindings' > make[2]: Leaving directory `/usr/src/rlib-1.3.7/bindings' > Making all in src > make[2]: Entering directory `/usr/src/rlib-1.3.7/src' > Making all in examples > make[3]: Entering directory `/usr/src/rlib-1.3.7/src/examples' > Making all in common > make[4]: Entering directory `/usr/src/rlib-1.3.7/src/examples/common' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/usr/src/rlib-1.3.7/src/examples/common' > Making all in c > make[4]: Entering directory `/usr/src/rlib-1.3.7/src/examples/c' > source=3D'example.c' object=3D'example.o' libtool=3Dno \ > depfile=3D'.deps/example.Po' tmpdepfile=3D'.deps/example.TPo' \ > depmode=3Dgcc3 /bin/sh ../../../depcomp \ > gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -D_GNU_SOURCE -Wall -Wchar-subscripts=20 > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql=20 > -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 = -fno-strength-reduce -I/usr/include=20 > -I/usr/include -I../../../libsrc -g -O2 -c `test -f 'example.c' || echo=20 > './'`example.c > `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. > /bin/sh ../../../libtool --mode=3Dlink=20 > gcc -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0=20 > -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=3Di486 -fno-strength-reduce=20 > -I/usr/include -I/usr/include -I../../../libsrc -g -O2 -o example > example.o ../../../libsrc/libr.la=20 > ../../../inputs/mysql/libr-mysql.la -lxml2 -lpthread -lz -lm -lglib-2.0 =20 > -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -lXpm -lX11 -ljpeg -lfontconfig=20 > -lfreetype -lpng12 -lz -lm -L/usr/lib -L/usr/X11R6/lib -lgd -lm -lc > mkdir .libs >=20 > *** Warning: Linking the executable example against the loadable module > *** libr-mysql.so is not portable! > gcc -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0=20 > -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include=20 > -I/usr/include/mysql -I/usr/local/include -mcpu=3Di486 -fno-strength-reduce -I/usr/include=20 > -I/usr/include -I../../../libsrc -g -O2 -o example=20 > example.o -Wl,--export-dynamic -L/usr/local/lib=20 > ../../../libsrc/.libs/libr.so -L/usr/lib -L/usr/X11R6/lib=20 > /usr/src/rlib-1.3.7/rpdf/.libs/librpdf.so=20 > ../../../inputs/mysql/.libs/libr-mysql.so -L/usr/lib/mysql -lcrypt -lnsl -lnss_files=20 > -lnss_dns -lresolv -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 -lXpm -lX11=20 > /usr/lib/libjpeg.so -lfontconfig=20 > /usr/lib/libfreetype.so -lpng12 -lz -lgd -lm -lc -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/libsrc/.libs=20 > -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/rpdf/.libs -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/inputs/mysql/.libs > ../../../inputs/mysql/.libs/libr-mysql.so: undefined reference to=20 > `__pure_virtual' > ../../../inputs/mysql/.libs/libr-mysql.so: undefined reference to=20 > `__builtin_delete' > collect2: ld returned 1 exit status > make[4]: *** [example] Error 1 > make[4]: Leaving directory `/usr/src/rlib-1.3.7/src/examples/c' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/src/rlib-1.3.7/src/examples' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/src/rlib-1.3.7/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/rlib-1.3.7' > make: *** [all] Error 2 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 >=20 > Benjamin D. Benner Chief Technical Officer PrivateTel Phone: 512-785-0660 > ----- Original Message -----=20 > From: "Bob Doan" <bd...@si...> > To: "Ben D. Benner" <be...@pr...> > Cc: <rli...@li...> > Sent: Wednesday, August 09, 2006 7:44 AM > Subject: Re: [Rlib-users] RLIB & MySQL 5.0 >=20 >=20 > >I think I already fixed this linking problem. > > > > Download the latest rlib: > > > > http://www.sicom.com/~bdoan/rlib-1.3.7.tar.gz > > > > - Bob > > --=20 ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Rlib-users mailing list Rli...@li... https://lists.sourceforge.net/lists/listinfo/rlib-users |