From: Bob D. <bd...@si...> - 2004-05-21 15:34:21
|
How about we just take SUBDIRS = \ $(EXAMPLES) Out from src/Makefile.am for know.. and let me know what happens - bob On Fri, 2004-05-21 at 11:29 -0300, Everton Luis Berz wrote: > Bob Doan wrote: > > in src/examples/c > > > > in the Makefile.am > > > > try changing > > > > example_LDADD to: > > > > > > example_LDADD = -L${top_builddir}/libsrc/ > > -L${top_builddir}/inputs/mysql/ $(RLIB_LIBS) -lr -lr-mysql > OK! > > now, 'make install' shows a error: > > Making install in mysql > make[2]: Entering directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > make[3]: Entering directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > /bin/sh ../../mkinstalldirs /usr/local/lib > /bin/sh ../../libtool --mode=install /usr/bin/ginstall -c > libr-mysql.la /usr/local/lib/libr-mysql.la > libtool: install: warning: relinking `libr-mysql.la' > (cd /usr/local/src/rlib-1.1.8/inputs/mysql; /bin/sh ../../libtool > --mode=relink gcc -g -O2 -o libr-mysql.la -rpath /usr/local/lib -release > 1.1.8 mysql.lo -lxml2 -lpthread -lz -liconv -lm -lglib-2.0 > -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib/mysql > -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/local/pgsql/lib -lpq > -L/usr/lib -lodbc -liconv -lcpdf -L../../libsrc/ -lr -lcpdf -lm -lc ) > gcc -shared .libs/mysql.o -Wl,--rpath -Wl,/usr/lib/mysql > -L/usr/i486-slackware-linux/lib -L/usr/i486-slackware-linux/bin > -L/usr/lib/. -L/usr/lib -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 > -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -L/usr/local/pgsql/lib > -lpq -lodbc -liconv -L/usr/local/src/rlib-1.1.8/libsrc -L/usr/local/lib > -lr -lcpdf -lm -lc -Wl,--export-dynamic -Wl,-soname > -Wl,libr-mysql-1.1.8 -o .libs/libr-mysql-1.1.8 > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: > cannot find -lr > collect2: ld returned 1 exit status > libtool: install: error: relink `libr-mysql.la' with the above command > before installing it > make[3]: ** [install-libLTLIBRARIES] Erro 1 > make[3]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > make[2]: ** [install-am] Erro 2 > make[2]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs/mysql' > make[1]: ** [install-recursive] Erro 1 > make[1]: Leaving directory `/usr/local/src/rlib-1.1.8/inputs' > make: ** [install-recursive] Erro 1 > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > |