From: Billy S. <bi...@sc...> - 2004-12-29 14:31:56
|
Bob, That did the trick. Thank you so very much!!! I went back to the Makefile for cpdflib and added -FPIC to the CCFLAGS line. CFLAGS=-Wall -g -DLinux -fPIC I recompiled cpdflib, then did the usual for rlib... make clean, make distclean, ./configure --with-pythonver=2.4., then make. Everything did compile without error. Do you foresee any concerns with use of rlib (or cpdflib for that matter) based on the changes made in order to get successful compilation? Regards, Billy- > Did cpdflib get compiled w/ fpic? > >> Bob, >> >> I feel one step closer... but not quite there yet. I have made the >> recommended change to pcode.h, did the make clean, make distclean, and >> ./configure --with-pythonver=2.4. Compilation went past the pcode.h >> error, >> and now I have a new one from ld for libcpdf.a asking to recompile with >> -fPIC. As a result, I tried make clean, make distclean, and ./configure >> --with-pythonver=2.4 --with-pic, but got the same erorr as without. >> >> Thoughts? >> NOTE: Only last few lines of make output have been included below. >> >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 -g >> -O2 -c value.c -MT value.lo -MD -MP -MF .deps/value.TPlo -fPIC -DPIC -o >> .libs/value.o >> /bin/sh ../libtool --mode=link gcc -g -O2 -o libr.la -rpath >> /usr/local/lib -release 1.3.0 parsexml.lo reportgen.lo layout.lo api.lo >> resolution.lo util.lo pcode.lo pcode_op_functions.lo formatstring.lo >> fxp.lo breaks.lo pdf.lo html.lo txt.lo datasource.lo csv.lo ralloc.lo >> environment.lo free.lo navigation.lo save.lo load.lo containers.lo >> charencoder.lo datetime.lo value.lo -L/usr/local/lib -lxml2 -lpthread >> -lz >> -lm -L/usr/local/lib -lglib-2.0 -Wl,--export-dynamic >> -L/usr/local/lib >> -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib64/mysql -lmysqlclient -lz >> -lcrypt -lnsl -lm -L/usr/lib64 -lpq -lcpdf -ldl -lcpdf -lm -lc >> >> gcc -shared .libs/parsexml.o .libs/reportgen.o .libs/layout.o >> .libs/api.o >> .libs/resolution.o .libs/util.o .libs/pcode.o .libs/pcode_op_functions.o >> .libs/formatstring.o .libs/fxp.o .libs/breaks.o .libs/pdf.o .libs/html.o >> .libs/txt.o .libs/datasource.o .libs/csv.o .libs/ralloc.o >> .libs/environment.o .libs/free.o .libs/navigation.o .libs/save.o >> .libs/load.o .libs/containers.o .libs/charencoder.o .libs/datetime.o >> .libs/value.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath >> -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so -lpthread >> /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libglib-2.0.so >> -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -L/usr/lib64 -lpq >> -ldl >> -lcpdf -lm -lc -Wl,--export-dynamic -Wl,-soname -Wl,libr-1.3.0.so -o >> .libs/libr-1.3.0.so >> /usr/bin/ld: /usr/local/lib/libcpdf.a(cpdfInit.o): relocation >> R_X86_64_32 >> can not be used when making a shared object; recompile with -fPIC >> /usr/local/lib/libcpdf.a: could not read symbols: Bad value >> collect2: ld returned 1 exit status >> make[2]: *** [libr.la] Error 1 >> make[2]: Leaving directory `/usr/ftp/rlib-1.3.0/libsrc' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/ftp/rlib-1.3.0' >> make: *** [all] Error 2 >> >> >>> Seems like you are the 1st 64bit user of rlib >>> >>> in pcode.h line 172 make the "long long" a "gint64" >>> >>> -- bob >>> >>>> Hi, >>>> >>>> Thank you for the suggestion. I just tried it. It created a new set of >>>> erorrs during make. Before running make again, I did a make clean, >>>> make >>>> distclean, and ran ./configure --with-pythonver=2.4 again. >>>> >>>> [foo rlib-1.3.0]$ make >>>> make all-recursive >>>> make[1]: Entering directory `/usr/ftp/rlib-1.3.0' >>>> Making all in libsrc >>>> make[2]: Entering directory `/usr/ftp/rlib-1.3.0/libsrc' >>>> source='parsexml.c' object='parsexml.lo' libtool=yes \ >>>> depfile='.deps/parsexml.Plo' tmpdepfile='.deps/parsexml.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o parsexml.lo `test >>>> -f >>>> 'parsexml.c' || echo './'`parsexml.c >>>> mkdir .libs >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c parsexml.c -MT parsexml.lo -MD -MP -MF .deps/parsexml.TPlo >>>> -fPIC >>>> -DPIC -o .libs/parsexml.o >>>> source='reportgen.c' object='reportgen.lo' libtool=yes \ >>>> depfile='.deps/reportgen.Plo' tmpdepfile='.deps/reportgen.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o reportgen.lo >>>> `test >>>> -f >>>> 'reportgen.c' || echo './'`reportgen.c >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c reportgen.c -MT reportgen.lo -MD -MP -MF .deps/reportgen.TPlo >>>> -fPIC -DPIC -o .libs/reportgen.o >>>> source='layout.c' object='layout.lo' libtool=yes \ >>>> depfile='.deps/layout.Plo' tmpdepfile='.deps/layout.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o layout.lo `test >>>> -f >>>> 'layout.c' || echo './'`layout.c >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c layout.c -MT layout.lo -MD -MP -MF .deps/layout.TPlo -fPIC >>>> -DPIC >>>> -o .libs/layout.o >>>> source='api.c' object='api.lo' libtool=yes \ >>>> depfile='.deps/api.Plo' tmpdepfile='.deps/api.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o api.lo `test -f >>>> 'api.c' || echo './'`api.c >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c api.c -MT api.lo -MD -MP -MF .deps/api.TPlo -fPIC -DPIC -o >>>> .libs/api.o >>>> source='resolution.c' object='resolution.lo' libtool=yes \ >>>> depfile='.deps/resolution.Plo' tmpdepfile='.deps/resolution.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o resolution.lo >>>> `test >>>> -f 'resolution.c' || echo './'`resolution.c >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c resolution.c -MT resolution.lo -MD -MP -MF >>>> .deps/resolution.TPlo >>>> -fPIC -DPIC -o .libs/resolution.o >>>> source='util.c' object='util.lo' libtool=yes \ >>>> depfile='.deps/util.Plo' tmpdepfile='.deps/util.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o util.lo `test -f >>>> 'util.c' || echo './'`util.c >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c util.c -MT util.lo -MD -MP -MF .deps/util.TPlo -fPIC -DPIC -o >>>> .libs/util.o >>>> source='pcode.c' object='pcode.lo' libtool=yes \ >>>> depfile='.deps/pcode.Plo' tmpdepfile='.deps/pcode.TPlo' \ >>>> depmode=gcc3 /bin/sh ../depcomp \ >>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>> /usr/include >>>> -I /usr/local/include/python2.4 -g -O2 -c -o pcode.lo `test -f >>>> 'pcode.c' || echo './'`pcode.c >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>> -g >>>> -O2 -c pcode.c -MT pcode.lo -MD -MP -MF .deps/pcode.TPlo -fPIC -DPIC >>>> -o >>>> .libs/pcode.o >>>> pcode.c: In function `rlib_new_operand': >>>> pcode.c:279: warning: cast to pointer from integer of different size >>>> pcode.c: At top level: >>>> pcode.c:655: error: conflicting types for 'rlib_value_new_number' >>>> pcode.h:172: error: previous declaration of 'rlib_value_new_number' >>>> was >>>> here >>>> pcode.c:655: error: conflicting types for 'rlib_value_new_number' >>>> pcode.h:172: error: previous declaration of 'rlib_value_new_number' >>>> was >>>> here >>>> make[2]: *** [pcode.lo] Error 1 >>>> make[2]: Leaving directory `/usr/ftp/rlib-1.3.0/libsrc' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory `/usr/ftp/rlib-1.3.0' >>>> make: *** [all] Error 2 >>>> [foo rlib-1.3.0]$ >>>> >>>>> Hi, >>>>> >>>>> Just comment out or remove line 37 in util.c >>>>> >>>>> I also noticed you don't have php-devel installed. You might want to >>>>> install that if you want php support to work >>>>> >>>>> - bob >>>>> >>>>>> Hello, >>>>>> >>>>>> I am trying to compile rlib 1.3.0 on a server with dual AMD Opteron >>>>>> (tm) >>>>>> Processor 848 (64 bit) CPU's running Red Hat Enterprise Linux AS >>>>>> (version >>>>>> 3 update 2). >>>>>> >>>>>> Info about server: >>>>>> [foo rlib-1.3.0]$ uname -a >>>>>> Linux host.somewhere.com 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:09:01 >>>>>> EDT >>>>>> 2004 x86_64 x86_64 x86_64 GNU/Linux >>>>>> [foo rlib-1.3.0]$ >>>>>> >>>>>> I am using GNU Make 3.8.0, gcc version 3.4.3. The configure script >>>>>> works >>>>>> fine (see output below), but make gives an error about conflicting >>>>>> types >>>>>> for llabs. I have tried enabling and disabling various options >>>>>> availble >>>>>> to >>>>>> configure (disabling everything) and still get the error. >>>>>> >>>>>> Any help to get this compiled would be greatly appreciated. >>>>>> >>>>>> >>>>>> >>>>>> Output of configure: >>>>>> [foo rlib-1.3.0]$ ./configure --with-pythonver=2.4 >>>>>> checking for a BSD-compatible install... /usr/bin/install -c >>>>>> checking whether build environment is sane... yes >>>>>> checking for gawk... gawk >>>>>> checking whether make sets $(MAKE)... yes >>>>>> checking whether to enable maintainer-specific portions of >>>>>> Makefiles... >>>>>> no >>>>>> checking for gcc... gcc >>>>>> checking for C compiler default output file name... a.out >>>>>> checking whether the C compiler works... yes >>>>>> checking whether we are cross compiling... no >>>>>> checking for suffix of executables... >>>>>> checking for suffix of object files... o >>>>>> checking whether we are using the GNU C compiler... yes >>>>>> checking whether gcc accepts -g... yes >>>>>> checking for gcc option to accept ANSI C... none needed >>>>>> checking for style of include used by make... GNU >>>>>> checking dependency style of gcc... gcc3 >>>>>> checking whether make sets $(MAKE)... (cached) yes >>>>>> checking for a BSD-compatible install... /usr/bin/install -c >>>>>> checking build system type... x86_64-redhat-linux-gnu >>>>>> checking host system type... x86_64-redhat-linux-gnu >>>>>> checking for a sed that does not truncate output... /bin/sed >>>>>> checking for egrep... grep -E >>>>>> checking for ld used by gcc... /usr/bin/ld >>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes >>>>>> checking for /usr/bin/ld option to reload object files... -r >>>>>> checking for BSD-compatible nm... /usr/bin/nm -B >>>>>> checking whether ln -s works... yes >>>>>> checking how to recognise dependent libraries... pass_all >>>>>> checking how to run the C preprocessor... gcc -E >>>>>> checking for ANSI C header files... yes >>>>>> checking for sys/types.h... yes >>>>>> checking for sys/stat.h... yes >>>>>> checking for stdlib.h... yes >>>>>> checking for string.h... yes >>>>>> checking for memory.h... yes >>>>>> checking for strings.h... yes >>>>>> checking for inttypes.h... yes >>>>>> checking for stdint.h... yes >>>>>> checking for unistd.h... yes >>>>>> checking dlfcn.h usability... yes >>>>>> checking dlfcn.h presence... yes >>>>>> checking for dlfcn.h... yes >>>>>> checking for g++... g++ >>>>>> checking whether we are using the GNU C++ compiler... yes >>>>>> checking whether g++ accepts -g... yes >>>>>> checking dependency style of g++... gcc3 >>>>>> checking how to run the C++ preprocessor... g++ -E >>>>>> checking for g77... g77 >>>>>> checking whether we are using the GNU Fortran 77 compiler... yes >>>>>> checking whether g77 accepts -g... yes >>>>>> checking the maximum length of command line arguments... 32768 >>>>>> checking command to parse /usr/bin/nm -B output from gcc object... >>>>>> ok >>>>>> checking for objdir... .libs >>>>>> checking for ar... ar >>>>>> checking for ranlib... ranlib >>>>>> checking for strip... strip >>>>>> checking if gcc static flag works... yes >>>>>> checking if gcc supports -fno-rtti -fno-exceptions... no >>>>>> checking for gcc option to produce PIC... -fPIC >>>>>> checking if gcc PIC flag -fPIC works... yes >>>>>> checking if gcc supports -c -o file.o... yes >>>>>> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports >>>>>> shared libraries... yes >>>>>> checking whether -lc should be explicitly linked in... no >>>>>> checking dynamic linker characteristics... GNU/Linux ld.so >>>>>> checking how to hardcode library paths into programs... immediate >>>>>> checking whether stripping libraries is possible... yes >>>>>> checking for shl_load... no >>>>>> checking for shl_load in -ldld... no >>>>>> checking for dlopen... no >>>>>> checking for dlopen in -ldl... yes >>>>>> checking whether a program can dlopen itself... yes >>>>>> checking whether a statically linked program can dlopen itself... >>>>>> yes >>>>>> checking if libtool supports shared libraries... yes >>>>>> checking whether to build shared libraries... yes >>>>>> checking whether to build static libraries... no >>>>>> configure: creating libtool >>>>>> appending configuration tag "CXX" to libtool >>>>>> checking for ld used by g++... /usr/bin/ld -m elf_x86_64 >>>>>> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes >>>>>> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports >>>>>> shared libraries... yes >>>>>> checking for g++ option to produce PIC... -fPIC >>>>>> checking if g++ PIC flag -fPIC works... yes >>>>>> checking if g++ supports -c -o file.o... yes >>>>>> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports >>>>>> shared libraries... yes >>>>>> checking dynamic linker characteristics... GNU/Linux ld.so >>>>>> checking how to hardcode library paths into programs... immediate >>>>>> checking whether stripping libraries is possible... yes >>>>>> checking for shl_load... (cached) no >>>>>> checking for shl_load in -ldld... (cached) no >>>>>> checking for dlopen... (cached) no >>>>>> checking for dlopen in -ldl... (cached) yes >>>>>> checking whether a program can dlopen itself... (cached) yes >>>>>> checking whether a statically linked program can dlopen itself... >>>>>> (cached) >>>>>> yes >>>>>> appending configuration tag "F77" to libtool >>>>>> checking if libtool supports shared libraries... yes >>>>>> checking whether to build shared libraries... yes >>>>>> checking whether to build static libraries... no >>>>>> checking for g77 option to produce PIC... -fPIC >>>>>> checking if g77 PIC flag -fPIC works... yes >>>>>> checking if g77 supports -c -o file.o... yes >>>>>> checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports >>>>>> shared libraries... yes >>>>>> checking dynamic linker characteristics... GNU/Linux ld.so >>>>>> checking how to hardcode library paths into programs... immediate >>>>>> checking whether stripping libraries is possible... yes >>>>>> checking for exit in -lc... yes >>>>>> checking for exp in -lm... yes >>>>>> checking for pkg-config... /usr/local/bin/pkg-config >>>>>> checking for libxml-2.0 >= 2.6.0... yes >>>>>> checking LIBXML_CFLAGS... -I/usr/local/include/libxml2 >>>>>> checking LIBXML_LIBS... -L/usr/local/lib -lxml2 -lpthread -lz -lm >>>>>> checking for glib-2.0 >= 0.0.1... yes >>>>>> checking LIBGLIB_CFLAGS... -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include >>>>>> checking LIBGLIB_LIBS... -L/usr/local/lib -lglib-2.0 >>>>>> checking for gmodule-2.0 >= 0.0.1... yes >>>>>> checking LIBGMODULE_CFLAGS... -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include >>>>>> checking LIBGMODULE_LIBS... -Wl,--export-dynamic -L/usr/local/lib >>>>>> -lgmodule-2.0 -ldl -lglib-2.0 >>>>>> checking for mysql_config... /usr/bin/mysql_config >>>>>> checking for pg_config... /usr/bin/pg_config >>>>>> checking for ODBC files... configure: WARNING: ODBC input method is >>>>>> not >>>>>> going to be used >>>>>> checking for php-config... no >>>>>> *** WARNING: PHP NOT FOUND IN PATH. RLIB WILL NOT BE COMPILED WITH >>>>>> SUPPORT FOR IT >>>>>> TEST 1 >>>>>> checking for a Python interpreter with version >= 2.4... python >>>>>> checking for python... /usr/local/bin/python >>>>>> checking for python version... 2.4 >>>>>> checking for python platform... linux2 >>>>>> TEST 2 >>>>>> -I ${prefix}/include/python2.4 >>>>>> checking for PERL files... configure: WARNING: PERL bindings are not >>>>>> going >>>>>> to be used >>>>>> checking iconv.h usability... yes >>>>>> checking iconv.h presence... yes >>>>>> checking for iconv.h... yes >>>>>> checking for iconv_open... yes >>>>>> checking for iconv_open in -liconv... no >>>>>> checking for libiconv_open in -liconv... no >>>>>> checking where to find iconv_open... libc >>>>>> checking whether iconv takes const char ** or char **... char ** >>>>>> checking whether iconv takes ISO8859-1 or ISO-8859-1... ISO8859-1 >>>>>> checking cpdflib.h usability... yes >>>>>> checking cpdflib.h presence... yes >>>>>> checking for cpdflib.h... yes >>>>>> checking for cpdf_init in -lcpdf... yes >>>>>> checking for ANSI C header files... (cached) yes >>>>>> checking fcntl.h usability... yes >>>>>> checking fcntl.h presence... yes >>>>>> checking for fcntl.h... yes >>>>>> checking for unistd.h... (cached) yes >>>>>> checking for an ANSI C-conforming const... yes >>>>>> configure: creating ./config.status >>>>>> config.status: creating Makefile >>>>>> config.status: creating rlib.pc >>>>>> config.status: creating libsrc/Makefile >>>>>> config.status: creating src/Makefile >>>>>> config.status: creating src/examples/Makefile >>>>>> config.status: creating src/examples/common/Makefile >>>>>> config.status: creating src/examples/c/Makefile >>>>>> config.status: creating src/examples/php/Makefile >>>>>> config.status: creating src/examples/python/Makefile >>>>>> config.status: creating src/examples/java/Makefile >>>>>> config.status: creating bindings/Makefile >>>>>> config.status: creating bindings/php/Makefile >>>>>> config.status: creating bindings/python/Makefile >>>>>> config.status: creating bindings/perl/Makefile >>>>>> config.status: creating bindings/java/Makefile >>>>>> config.status: creating bindings/interfaces/Makefile >>>>>> config.status: creating inputs/Makefile >>>>>> config.status: creating inputs/mysql/Makefile >>>>>> config.status: creating inputs/odbc/Makefile >>>>>> config.status: creating inputs/postgre/Makefile >>>>>> config.status: creating tests/Makefile >>>>>> config.status: creating config.h >>>>>> config.status: executing depfiles commands >>>>>> >>>>>> rlib-1.3.0: >>>>>> >>>>>> prefix: /usr/local >>>>>> compiler: gcc >>>>>> Memory debugging: no >>>>>> Warning Fun: no >>>>>> Crash detection: yes >>>>>> UTF8 disabled: no >>>>>> >>>>>> INPUTS: >>>>>> MYSQL: yes >>>>>> POSTGRE: yes >>>>>> ODBC: no >>>>>> >>>>>> OUTPUTS: >>>>>> PDF: yes >>>>>> HTML: Always >>>>>> CSV: Always >>>>>> TEXT: Always >>>>>> >>>>>> BINDINGS: >>>>>> PHP: no >>>>>> PHP entension dir: >>>>>> PYTHON: yes >>>>>> PYTHON version: 2.4 >>>>>> PYTHON entension dir: >>>>>> ${exec_prefix}/lib/python2.4/site-packages >>>>>> JAVA: no >>>>>> PERL: no >>>>>> PERL entension dir: >>>>>> >>>>>> Music: Velvet Revolver >>>>>> >>>>>> Having Problems: rli...@li... >>>>>> Want to contribute: rli...@li... >>>>>> [foo rlib-1.3.0]$ >>>>>> >>>>>> Output of make: >>>>>> [foo rlib-1.3.0]$ make >>>>>> make all-recursive >>>>>> make[1]: Entering directory `/usr/ftp/rlib-1.3.0' >>>>>> Making all in libsrc >>>>>> make[2]: Entering directory `/usr/ftp/rlib-1.3.0/libsrc' >>>>>> source='parsexml.c' object='parsexml.lo' libtool=yes \ >>>>>> depfile='.deps/parsexml.Plo' tmpdepfile='.deps/parsexml.TPlo' \ >>>>>> depmode=gcc3 /bin/sh ../depcomp \ >>>>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>>>> /usr/include >>>>>> -I /usr/local/include/python2.4 -g -O2 -c -o parsexml.lo >>>>>> `test >>>>>> -f >>>>>> 'parsexml.c' || echo './'`parsexml.c >>>>>> mkdir .libs >>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>>>> -g >>>>>> -O2 -c parsexml.c -MT parsexml.lo -MD -MP -MF .deps/parsexml.TPlo >>>>>> -fPIC >>>>>> -DPIC -o .libs/parsexml.o >>>>>> source='reportgen.c' object='reportgen.lo' libtool=yes \ >>>>>> depfile='.deps/reportgen.Plo' tmpdepfile='.deps/reportgen.TPlo' \ >>>>>> depmode=gcc3 /bin/sh ../depcomp \ >>>>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>>>> /usr/include >>>>>> -I /usr/local/include/python2.4 -g -O2 -c -o reportgen.lo >>>>>> `test >>>>>> -f >>>>>> 'reportgen.c' || echo './'`reportgen.c >>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>>>> -g >>>>>> -O2 -c reportgen.c -MT reportgen.lo -MD -MP -MF .deps/reportgen.TPlo >>>>>> -fPIC -DPIC -o .libs/reportgen.o >>>>>> source='layout.c' object='layout.lo' libtool=yes \ >>>>>> depfile='.deps/layout.Plo' tmpdepfile='.deps/layout.TPlo' \ >>>>>> depmode=gcc3 /bin/sh ../depcomp \ >>>>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>>>> /usr/include >>>>>> -I /usr/local/include/python2.4 -g -O2 -c -o layout.lo `test >>>>>> -f >>>>>> 'layout.c' || echo './'`layout.c >>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>>>> -g >>>>>> -O2 -c layout.c -MT layout.lo -MD -MP -MF .deps/layout.TPlo -fPIC >>>>>> -DPIC >>>>>> -o .libs/layout.o >>>>>> source='api.c' object='api.lo' libtool=yes \ >>>>>> depfile='.deps/api.Plo' tmpdepfile='.deps/api.TPlo' \ >>>>>> depmode=gcc3 /bin/sh ../depcomp \ >>>>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>>>> /usr/include >>>>>> -I /usr/local/include/python2.4 -g -O2 -c -o api.lo `test -f >>>>>> 'api.c' || echo './'`api.c >>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>>>> -g >>>>>> -O2 -c api.c -MT api.lo -MD -MP -MF .deps/api.TPlo -fPIC -DPIC -o >>>>>> .libs/api.o >>>>>> source='resolution.c' object='resolution.lo' libtool=yes \ >>>>>> depfile='.deps/resolution.Plo' tmpdepfile='.deps/resolution.TPlo' \ >>>>>> depmode=gcc3 /bin/sh ../depcomp \ >>>>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>>>> /usr/include >>>>>> -I /usr/local/include/python2.4 -g -O2 -c -o resolution.lo >>>>>> `test >>>>>> -f 'resolution.c' || echo './'`resolution.c >>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>>>> -g >>>>>> -O2 -c resolution.c -MT resolution.lo -MD -MP -MF >>>>>> .deps/resolution.TPlo >>>>>> -fPIC -DPIC -o .libs/resolution.o >>>>>> source='util.c' object='util.lo' libtool=yes \ >>>>>> depfile='.deps/util.Plo' tmpdepfile='.deps/util.TPlo' \ >>>>>> depmode=gcc3 /bin/sh ../depcomp \ >>>>>> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >>>>>> -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 >>>>>> -I/usr/local/lib/glib-2.0/include -I'/usr/include/mysql' -I >>>>>> /usr/include >>>>>> -I /usr/local/include/python2.4 -g -O2 -c -o util.lo `test >>>>>> -f >>>>>> 'util.c' || echo './'`util.c >>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2 >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>>> -I/usr/include/mysql -I /usr/include -I /usr/local/include/python2.4 >>>>>> -g >>>>>> -O2 -c util.c -MT util.lo -MD -MP -MF .deps/util.TPlo -fPIC -DPIC >>>>>> -o >>>>>> .libs/util.o >>>>>> util.c:37: error: conflicting types for 'llabs' >>>>>> util.c:37: error: conflicting types for 'llabs' >>>>>> make[2]: *** [util.lo] Error 1 >>>>>> make[2]: Leaving directory `/usr/ftp/rlib-1.3.0/libsrc' >>>>>> make[1]: *** [all-recursive] Error 1 >>>>>> make[1]: Leaving directory `/usr/ftp/rlib-1.3.0' >>>>>> make: *** [all] Error 2 >>>>>> [foo rlib-1.3.0]$ >>>>>> >>>>>> >>>>>> Thank you in advance! >>>>>> Billy- >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> SF email is sponsored by - The IT Product Guide >>>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>>> users. >>>>>> Discover which products truly live up to the hype. Start reading >>>>>> now. >>>>>> http://productguide.itmanagersjournal.com/ >>>>>> _______________________________________________ >>>>>> Rlib-users mailing list >>>>>> Rli...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/rlib-users >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading now. >>>> http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Rlib-users mailing list >>>> Rli...@li... >>>> https://lists.sourceforge.net/lists/listinfo/rlib-users >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Rlib-users mailing list >>> Rli...@li... >>> https://lists.sourceforge.net/lists/listinfo/rlib-users >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Rlib-users mailing list >> Rli...@li... >> https://lists.sourceforge.net/lists/listinfo/rlib-users >> > > |