Re: RLIB & MySQL 5.0

"Brian Morton" <bmorton-gZzCISP20qyEK/[email protected]> Wed, 9 Aug 2006 14:49:43 -0400
Newsgroups gmane.text.rlib.user
Message-ID <15C6AC8EF16D4C45B9DEDF8D94E833B9215D68@atlexchange3.ATLCORP.SECUREWORKS.NET>
Make sure you are running ./configure again and make clean before you
make.

-----Original Message-----
From: rlib-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:rlib-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Bob Doan
Sent: Wednesday, August 09, 2006 2:46 PM
To: Ben D. Benner
Cc: [email protected]
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.
> 
> I installed yum and ran it to update the gcc and glibc packages. Below
is a 
> bit more of the output, it seems to be the same stuff, no real change.
If 
> you can shed some light, it would be appreciated. The guru I keep 
> mentioning, happens to be with me in Dallas today, I am going to try
to 
> steal him out of the meeting for a few minutes.
> 
>
========================================================================
====================================================
> 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='odbc.c' object='odbc.lo' libtool=yes \
> depfile='.deps/odbc.Plo' tmpdepfile='.deps/odbc.TPlo' \
> depmode=gcc3 /bin/sh ../../depcomp \
> /bin/sh ../../libtool --mode=compile 
>  -DHAVE_CONFIG_H -I. -I. -I../..    -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2
-I/usr/include/glib-2.0 
>  -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib
-mcpu=i486 -fno-strength-reduce 
>   -I/usr/include -I/usr/include   -I../../libsrc -g -O2 -c -o odbc.lo 
> `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 
>  -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2
-I/usr/include/glib-2.0 
>  -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>  -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=i486
-fno-strength-reduce 
>  -I/usr/include -I/usr/include -I../../libsrc -g -O2 -c odbc.c -MT 
> odbc.lo -MD -MP -MF .deps/odbc.TPlo  -fPIC -DPIC -o .libs/odbc.o
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> /bin/sh ../../libtool --mode=link 
> gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-D_GNU_SOURCE -Wall 
>  -Wchar-subscripts -I/usr/include/libxml2   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql 
>  -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce
-I/usr/include 
>  -I/usr/include   -I../../libsrc -g -O2   -o libr-odbc.la -rpath 
> /usr/lib -version-info 4:7:3  -module -avoid-version 
> bc.lo -lglib-2.0   -L/usr/lib -lodbc  -lm -lc
> gcc -shared 
>  .libs/odbc.o  -L/usr/local/lib -lglib-2.0 -L/usr/lib -lodbc -lm -lc
-mcpu=i486 
>  -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='environment.c' object='environment.lo' libtool=yes \
> depfile='.deps/environment.Plo' tmpdepfile='.deps/environment.TPlo' \
> depmode=gcc3 /bin/sh ../../depcomp \
> /bin/sh ../../libtool --mode=compile 
>  -DHAVE_CONFIG_H -I. -I. -I../..    -I../../libsrc -D_GNU_SOURCE -Wall
-Wchar-subscripts 
>  -I/usr/include/libxml2   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql 
>  -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce
-I/usr/include 
>  -I/usr/include  -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
>  -I/usr/local/include/php/Zend  -g -O2 -c -o environment.lo `test -f 
> 'environment.c' || echo './'`environment.c
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE
-Wall -Wchar-subscripts 
>  -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql -I/usr/local/include 
>  -L/usr/local/lib -mcpu=i486 -fno-strength-reduce -I/usr/include
-I/usr/include 
>  -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM 
>  -I/usr/local/include/php/Zend -g -O2 -c environment.c -MT 
> environment.lo -MD -MP -MF .deps/environment.TPlo  -fPIC -DPIC -o 
> .libs/environment.o
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> source='php.c' object='php.lo' libtool=yes \
> depfile='.deps/php.Plo' tmpdepfile='.deps/php.TPlo' \
> depmode=gcc3 /bin/sh ../../depcomp \
> /bin/sh ../../libtool --mode=compile 
>  -DHAVE_CONFIG_H -I. -I. -I../..    -I../../libsrc -D_GNU_SOURCE -Wall
-Wchar-subscripts 
>  -I/usr/include/libxml2   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql 
>  -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce
-I/usr/include 
>  -I/usr/include  -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
>  -I/usr/local/include/php/Zend  -g -O2 -c -o php.lo `test -f 'php.c'
|| echo 
> './'`php.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE
-Wall -Wchar-subscripts 
>  -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql -I/usr/local/include 
>  -L/usr/local/lib -mcpu=i486 -fno-strength-reduce -I/usr/include
-I/usr/include 
>  -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM 
>  -I/usr/local/include/php/Zend -g -O2 -c php.c -MT php.lo -MD -MP -MF 
> .deps/php.TPlo  -fPIC -DPIC -o .libs/php.o
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> source='array_data_source.c' object='array_data_source.lo' libtool=yes
\
> depfile='.deps/array_data_source.Plo' 
> tmpdepfile='.deps/array_data_source.TPlo' \
> depmode=gcc3 /bin/sh ../../depcomp \
> /bin/sh ../../libtool --mode=compile 
>  -DHAVE_CONFIG_H -I. -I. -I../..    -I../../libsrc -D_GNU_SOURCE -Wall
-Wchar-subscripts 
>  -I/usr/include/libxml2   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql 
>  -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce
-I/usr/include 
>  -I/usr/include  -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
>  -I/usr/local/include/php/Zend  -g -O2 -c -o array_data_source.lo
`test -f 
> 'array_data_source.c' || echo './'`array_data_source.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE
-Wall -Wchar-subscripts 
>  -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql -I/usr/local/include 
>  -L/usr/local/lib -mcpu=i486 -fno-strength-reduce -I/usr/include
-I/usr/include 
>  -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM 
>  -I/usr/local/include/php/Zend -g -O2 -c array_data_source.c -MT 
> array_data_source.lo -MD -MP -MF 
> .deps/array_data_source.TPlo  -fPIC -DPIC -o .libs/array_data_source.o
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> /bin/sh ../../libtool --mode=link 
> gcc -I../../libsrc -D_GNU_SOURCE -Wall -Wchar-subscripts
-I/usr/include/libxml2 
>    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 
>  -I/usr/lib/glib-2.0/include   -I/usr/include/mysql
-I/usr/local/include -L/usr/local/lib 
>  -mcpu=i486 -fno-strength-reduce  -I/usr/include -I/usr/include
-I/usr/local/include/php 
>  -I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend 
>   -g -O2   -o rlib.la -rpath 
> /usr/local/lib/php/extensions/no-debug-non-zts-20020429 -version-info 
> :7:3  -module -avoid-version environment.lo php.lo
array_data_source.lo 
> ../../libsrc/libr.la -lxml2 -lpthread -lz -lm   -lglib-2.0
-Wl,--export-dynamic 
>  -lgmodule-2.0 -ldl -lglib-2.0    -lXpm -lX11 -ljpeg -lfontconfig
-lfreetype 
>  -lpng12 -lz -lm -L/usr/lib -L/usr/X11R6/lib -lgd  -lm -lc
> gcc -shared  .libs/environment.o .libs/php.o 
> libs/array_data_source.o  -Wl,--rpath
-Wl,/usr/src/rlib-1.3.7/libsrc/.libs -L/usr/local/lib 
> ../../libsrc/.libs/libr.so -L/usr/lib -L/usr/X11R6/lib
-L/usr/src/rlib-1.3.7/rpdf/.libs 
>  -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 -lXpm -lX11 
> /usr/lib/libjpeg.so -lfontconfig 
> /usr/lib/libfreetype.so -lpng12 -lz -lgd -lm -lc  -mcpu=i486
-Wl,--export-dynamic 
>  -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='example.c' object='example.o' libtool=no \
> depfile='.deps/example.Po' tmpdepfile='.deps/example.TPo' \
> depmode=gcc3 /bin/sh ../../../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -D_GNU_SOURCE -Wall
-Wchar-subscripts 
>  -I/usr/include/libxml2   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/mysql 
>  -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce
-I/usr/include 
>  -I/usr/include  -I../../../libsrc -g -O2 -c `test -f 'example.c' ||
echo 
> './'`example.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> /bin/sh ../../../libtool --mode=link 
> gcc -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2
-I/usr/include/glib-2.0 
>  -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>    -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib
-mcpu=i486 -fno-strength-reduce 
>   -I/usr/include -I/usr/include  -I../../../libsrc -g -O2   -o example

> example.o ../../../libsrc/libr.la 
> ../../../inputs/mysql/libr-mysql.la -lxml2 -lpthread -lz -lm
-lglib-2.0    
> -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0    -lXpm -lX11
-ljpeg -lfontconfig 
>  -lfreetype -lpng12 -lz -lm -L/usr/lib -L/usr/X11R6/lib -lgd  -lm -lc
> mkdir .libs
> 
> *** 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 
>  -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include 
>  -I/usr/include/mysql -I/usr/local/include -mcpu=i486
-fno-strength-reduce -I/usr/include 
>  -I/usr/include -I../../../libsrc -g -O2 -o example 
> example.o -Wl,--export-dynamic  -L/usr/local/lib 
> ../../../libsrc/.libs/libr.so -L/usr/lib -L/usr/X11R6/lib 
> /usr/src/rlib-1.3.7/rpdf/.libs/librpdf.so 
> ../../../inputs/mysql/.libs/libr-mysql.so -L/usr/lib/mysql -lcrypt
-lnsl -lnss_files 
>  -lnss_dns -lresolv -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0
-lXpm -lX11 
> /usr/lib/libjpeg.so -lfontconfig 
> /usr/lib/libfreetype.so -lpng12 -lz -lgd -lm -lc -Wl,--rpath
-Wl,/usr/src/rlib-1.3.7/libsrc/.libs 
>  -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 
> `__pure_virtual'
> ../../../inputs/mysql/.libs/libr-mysql.so: undefined reference to 
> `__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
> 
>
========================================================================
====================================================
> 
> 
> Benjamin D. Benner Chief Technical Officer PrivateTel Phone:
512-785-0660
> ----- Original Message ----- 
> From: "Bob Doan" <[email protected]>
> To: "Ben D. Benner" <bendb-Hfo/[email protected]>
> Cc: <[email protected]>
> Sent: Wednesday, August 09, 2006 7:44 AM
> Subject: Re: [Rlib-users] RLIB & MySQL 5.0
> 
> 
> >I think I already fixed this linking problem.
> >
> > Download the latest rlib:
> >
> > http://www.sicom.com/~bdoan/rlib-1.3.7.tar.gz
> >
> > - Bob
> >
-- 



------------------------------------------------------------------------
-
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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rlib-users

-------------------------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642