You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(54) |
Nov
(34) |
Dec
(45) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(49) |
Feb
(17) |
Mar
(13) |
Apr
|
May
(30) |
Jun
(13) |
Jul
(18) |
Aug
(23) |
Sep
(8) |
Oct
(10) |
Nov
(15) |
Dec
(24) |
2005 |
Jan
(16) |
Feb
(33) |
Mar
(58) |
Apr
(61) |
May
(37) |
Jun
(6) |
Jul
(30) |
Aug
(31) |
Sep
(12) |
Oct
(18) |
Nov
(8) |
Dec
(8) |
2006 |
Jan
(30) |
Feb
(4) |
Mar
(5) |
Apr
(4) |
May
(2) |
Jun
(6) |
Jul
(11) |
Aug
(21) |
Sep
(12) |
Oct
(9) |
Nov
(1) |
Dec
(15) |
2007 |
Jan
(4) |
Feb
(6) |
Mar
(7) |
Apr
(1) |
May
(2) |
Jun
(7) |
Jul
(4) |
Aug
(4) |
Sep
(6) |
Oct
|
Nov
|
Dec
(3) |
2008 |
Jan
(1) |
Feb
(2) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(3) |
Dec
|
2010 |
Jan
(5) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bob D. <bd...@si...> - 2005-02-18 16:13:03
|
On Thu, 2005-02-17 at 12:01 -0700, Carol Fouse wrote: > Bob - > > I have tried the round function. Normally, values .0 to .4 round down > and .5 to .9 round up, but in rlib, .5 is rounding down. I think this > needs a fix. I have attached a writeup for the round function which > gives examples of how to use it, and how to make it round to other > values besides whole integers. I have used the second example, but > rounding to thousands, but assume the third example of rounding to > less than a whole integer would work as well. Good Catch!! I fixed this. I'll put out a release soon w/ this fix. Any chance you could edit the real rlib documentation? rlib/doc It's really not that hard. Try doing to that directory and typing "make". If all goes well you will have a pdf manual. If you might have to install db2pdf or something. > > Did you read over what I wrote up for the loading of rlib? Is it OK? Yes. We should add it to the real RLIB manual. > > I am now tackling your examples for fixed_part and flow_part. I don't > know which I will end up using, but I will give it a shot. I am > trying to print out address labels, and figure they will be better > formatted if I use rlib than if I try to do it with php, since html > has a mind of its own when it comes to lining things up. It seems that you didn't copy array.xml and array2.xml into your /var/www/html/Dev dir. Among other things these examples show you how to include other XML files To do labels I would suggest having a part w/ 2 or 3 columns like: <pr> <pd width='33%'> --- Include Report w/ labels here </pd> <pd width='33%'> --- Include Report w/ labels here </pd> <pd width='33%'> --- Include Report w/ labels here </pd> </pr> The next trick is to query mod 3 or in RLIB suppress based on a mod 3. So that there will be an even amount of rows Like (Col 1) <line suppress"iif(r.rowcount%3==0,yes,no)"> ... Like (Col 2) <line suppress"iif(r.rowcount+1%3==0,yes,no)"> ... Like (Col 3) <line suppress"iif(r.rowcount+2%3==0,yes,no)"> ... Also figuring out the amount of white space will trial and error.. when you are done it would be a nice contribution for the project. - bob > > I tried to display what the code would produce for the flow_part, and > received a bunch of errors: > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array2.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array2.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array2.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > Warning: I/O in /var/www/html/Dev/flow_part.php on line 100 > > Warning: warning : in /var/www/html/Dev/flow_part.php on line 100 > > Warning: failed to load external entity "array2.xml" > in /var/www/html/Dev/flow_part.php on line 100 > > I did not make any changes to either of the files. > > > - Carol |
From: Marty K. <ma...@gm...> - 2005-02-16 02:23:55
|
Hi Bob, FYI, the 1.3.1 release has re-introduced the -ldl compile problem on FreeBSD. Here's the snippet from the last time I encountered this on bsd: >>1) I run FreeBSD, Apache, PHP - the compile fails on linking "-ldl", >>on bsd, you don"t need to include that shlib so I removed the "-ldl" >>option from the libsrc makefile line: >> >> libr_la_LIBADD = $(RLIB_LIBS) > > > remove it and compile is fine..... -marty On Thu, 20 Jan 2005 13:30:38 -0500, Bob Doan <bd...@si...> wrote: > Hey all, > > I'm pleased to announce the official release of RLIB 1.3.1 (UNSTABLE). > > The major changes are graphing support. > > For examples see: > > http://www.sicom.com/~bdoan/report.html > and http://www.sicom.com/~bdoan/report.pdf > > In src/examples/php/ there is graphing.xml and graphing.php which show > you how to use it. > > The graphing support is not quite yet complete as there are still a few > problems w/ y axis labeling and ticking.. but it works out nice a lot of > the time. > > At this time I want to give a VERY SPECIAL THANK YOU to Mike Ibison for > all of his help w/ graping support! It would not have been possible w/ > out his help! (Mike doesn't work for SICOM so he did this on his own > time) > > Once again!! Thanks Mike! > > Get it from the usual place: > > http://rlib.sicompos.com > > Note RLIB requires gd > 2.0 form HTML images support Packages needed are > (gd, gd-devel, AND gd-progs) > > There are a few more things to get done before RLIB 1.4 comes out: > * Fix up python bindings > * Fix up java bindings > * Finish perl bindings > * Windows Port > * Graphing cleanup > > All feedback is appreciated > > - bob > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users > |
From: Bob D. <bd...@si...> - 2005-01-21 13:14:02
|
I have the same problem w/ our production servers and RHE 3 I download the source and compile it manually Latest is something like 2.6.17 ftp://xmlsoft.org/ If you do the source compile it with --prefix=/usr If you are using RLIB 1.3.1 in this environment the gdlib stuff is too old also - bob On Thu, 2005-01-20 at 22:36 -0500, Stephen Tenberg wrote: > Thanks for the help in getting rlib up and running on Fedora 2. > > Now to do a little real testing I am trying to install it on a production > server. They all run Red Hat Enterprise Linux (the very latest) which only > offers libxml 2.5: > > rpm -qa | grep libxml2 > libxml2-devel-2.5.10-7 > libxml2-python-2.5.10-7 > libxml2-2.5.10-7 > > What would be the easiest way to build on RHEL without disturbing anything? > > thx - steve > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users -- Bob Doan <bd...@si...> |
From: Stephen T. <STe...@fc...> - 2005-01-21 03:38:22
|
Thanks for the help in getting rlib up and running on Fedora 2. Now to do a little real testing I am trying to install it on a production server. They all run Red Hat Enterprise Linux (the very latest) which only offers libxml 2.5: rpm -qa | grep libxml2 libxml2-devel-2.5.10-7 libxml2-python-2.5.10-7 libxml2-2.5.10-7 What would be the easiest way to build on RHEL without disturbing anything? thx - steve |
From: Bob D. <bd...@si...> - 2005-01-20 20:40:30
|
I'm going to assume you don't have a /usr/local/lib/php/extensions/no-debug-non-zts-20020429 Directory Question for you? Why do you have 2 php's on one box? - bob On Thu, 2005-01-20 at 15:37 -0500, Michael McInally wrote: > I renamed the /usr/local/bin/php-config > > Then did ./configure --prefix=/usr --disable-utf8 > > Now I get this output on make install: > > /bin/sh ../../mkinstalldirs /usr/lib/php4 > mkdir -p -- /usr/lib/php4 > /bin/sh ../../libtool --mode=install /usr/bin/install -c librlib.la > /usr/lib/php4/librlib.la > libtool: install: error: cannot install `librlib.la' to a directory not > ending in /usr/local/lib/php/extensions/no-debug-non-zts-20020429 > make[3]: *** [install-libLTLIBRARIES] Error 1 > make[3]: Leaving directory `/home/mcinallym/rlib-1.3.0/bindings/php' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory `/home/mcinallym/rlib-1.3.0/bindings/php' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/mcinallym/rlib-1.3.0/bindings' > make: *** [install-recursive] Error 1 > > > > Any help for this one? > > Mike. > > > On Thu, 2005-01-20 at 12:14, Bob Doan wrote: > > PATH=/usr/local/bin:$PATH > > > > then configure > > > > If that doesn't work temporally rename /usr/bin/php-config to something > > else before you configure > > > > - bob > > > > On Thu, 2005-01-20 at 11:54 -0500, Michael McInally wrote: > > > Yes, that looks to be the problem. > > > > > > /usr/bin/php-config > > > /usr/local/bin/php-config > > > > > > How can I fix it? > > > > > > > > > Mike. > > > > > > > > > On Thu, 2005-01-20 at 11:48, Bob Doan wrote: > > > > I suspect you have 2 php-config 's > > > > > > > > one in /usr/bin/ and one .. maybe in /usr/local/bin (guessing) > > > > > > > > I guess you WANT the one in /usr/local/bin but your PATH leads rlib > > > > to /usr/bin first > > > > > > > > Am I right? > > > > > > > > - bob > > > > > > > > On Thu, 2005-01-20 at 09:32 -0500, Michael McInally wrote: > > > > > It seems that my rlib extensions are being installed in the wrong > > > > > directory. I do not know why. Anybody have any ideas? > > > > > > > > > > I am running Redhat 7.0, PHP & PHP-Devel 4.3.6, mySQL & mySQL-devel > > > > > (newest, 4.something). > > > > > > > > > > This is an excerpt when I run "make install": > > > > > > > > > > ---------------------------------------------------------- > > > > > > > > > > Libraries have been installed in: > > > > > /usr/local/lib/php/extensions/no-debug-non-zts-20020429 > > > > > > > > > > If you ever happen to want to link against installed libraries > > > > > in a given directory, LIBDIR, you must either use libtool, and > > > > > specify the full pathname of the library, or use the `-LLIBDIR' > > > > > flag during linking and do at least one of the following: > > > > > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > > > > > during execution > > > > > - add LIBDIR to the `LD_RUN_PATH' environment variable > > > > > during linking > > > > > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > > > > > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > > > > > > > > > > > > > > ---------------------------------------------------------- > > > > > > > > > > When I try a .php script to execute the rlib library, I get: > > > > > > > > > > Warning: dl(): Unable to load dynamic library './librlib.so' - > > > > > ./librlib.so: cannot open shared object file: No such file or directory > > > > > in /home/volunteer/public_html/html/report_users.php on line 4 > > > > > > > > > > Fatal error: Call to undefined function: rlib_init() in > > > > > /home/volunteer/public_html/html/report_users.php on line 48 > > > > > > > > > > > > > > > Somebody please help. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > > > > Tool for open source databases. Create drag-&-drop reports. Save time > > > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > > > > _______________________________________________ > > > > > Rlib-users mailing list > > > > > Rli...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > > > Tool for open source databases. Create drag-&-drop reports. Save time > > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Bob D. <bd...@si...> - 2005-01-20 18:28:55
|
Hey all, I'm pleased to announce the official release of RLIB 1.3.1 (UNSTABLE). The major changes are graphing support. For examples see: http://www.sicom.com/~bdoan/report.html and http://www.sicom.com/~bdoan/report.pdf In src/examples/php/ there is graphing.xml and graphing.php which show you how to use it. The graphing support is not quite yet complete as there are still a few problems w/ y axis labeling and ticking.. but it works out nice a lot of the time. At this time I want to give a VERY SPECIAL THANK YOU to Mike Ibison for all of his help w/ graping support! It would not have been possible w/ out his help! (Mike doesn't work for SICOM so he did this on his own time) Once again!! Thanks Mike! Get it from the usual place: http://rlib.sicompos.com Note RLIB requires gd > 2.0 form HTML images support Packages needed are (gd, gd-devel, AND gd-progs) There are a few more things to get done before RLIB 1.4 comes out: * Fix up python bindings * Fix up java bindings * Finish perl bindings * Windows Port * Graphing cleanup All feedback is appreciated - bob |
From: Bob D. <bd...@si...> - 2005-01-20 17:12:55
|
PATH=/usr/local/bin:$PATH then configure If that doesn't work temporally rename /usr/bin/php-config to something else before you configure - bob On Thu, 2005-01-20 at 11:54 -0500, Michael McInally wrote: > Yes, that looks to be the problem. > > /usr/bin/php-config > /usr/local/bin/php-config > > How can I fix it? > > > Mike. > > > On Thu, 2005-01-20 at 11:48, Bob Doan wrote: > > I suspect you have 2 php-config 's > > > > one in /usr/bin/ and one .. maybe in /usr/local/bin (guessing) > > > > I guess you WANT the one in /usr/local/bin but your PATH leads rlib > > to /usr/bin first > > > > Am I right? > > > > - bob > > > > On Thu, 2005-01-20 at 09:32 -0500, Michael McInally wrote: > > > It seems that my rlib extensions are being installed in the wrong > > > directory. I do not know why. Anybody have any ideas? > > > > > > I am running Redhat 7.0, PHP & PHP-Devel 4.3.6, mySQL & mySQL-devel > > > (newest, 4.something). > > > > > > This is an excerpt when I run "make install": > > > > > > ---------------------------------------------------------- > > > > > > Libraries have been installed in: > > > /usr/local/lib/php/extensions/no-debug-non-zts-20020429 > > > > > > If you ever happen to want to link against installed libraries > > > in a given directory, LIBDIR, you must either use libtool, and > > > specify the full pathname of the library, or use the `-LLIBDIR' > > > flag during linking and do at least one of the following: > > > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > > > during execution > > > - add LIBDIR to the `LD_RUN_PATH' environment variable > > > during linking > > > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > > > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > > > > > > > > ---------------------------------------------------------- > > > > > > When I try a .php script to execute the rlib library, I get: > > > > > > Warning: dl(): Unable to load dynamic library './librlib.so' - > > > ./librlib.so: cannot open shared object file: No such file or directory > > > in /home/volunteer/public_html/html/report_users.php on line 4 > > > > > > Fatal error: Call to undefined function: rlib_init() in > > > /home/volunteer/public_html/html/report_users.php on line 48 > > > > > > > > > Somebody please help. > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > > Tool for open source databases. Create drag-&-drop reports. Save time > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > > _______________________________________________ > > > Rlib-users mailing list > > > Rli...@li... > > > https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Rlib-users mailing list > > Rli...@li... > > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Bob D. <bd...@si...> - 2005-01-20 16:46:27
|
I suspect you have 2 php-config 's one in /usr/bin/ and one .. maybe in /usr/local/bin (guessing) I guess you WANT the one in /usr/local/bin but your PATH leads rlib to /usr/bin first Am I right? - bob On Thu, 2005-01-20 at 09:32 -0500, Michael McInally wrote: > It seems that my rlib extensions are being installed in the wrong > directory. I do not know why. Anybody have any ideas? > > I am running Redhat 7.0, PHP & PHP-Devel 4.3.6, mySQL & mySQL-devel > (newest, 4.something). > > This is an excerpt when I run "make install": > > ---------------------------------------------------------- > > Libraries have been installed in: > /usr/local/lib/php/extensions/no-debug-non-zts-20020429 > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > > ---------------------------------------------------------- > > When I try a .php script to execute the rlib library, I get: > > Warning: dl(): Unable to load dynamic library './librlib.so' - > ./librlib.so: cannot open shared object file: No such file or directory > in /home/volunteer/public_html/html/report_users.php on line 4 > > Fatal error: Call to undefined function: rlib_init() in > /home/volunteer/public_html/html/report_users.php on line 48 > > > Somebody please help. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Bob D. <bd...@si...> - 2005-01-20 16:45:14
|
Configure it w/ --disable-utf8 This is fixed in the soon to be released rlib 1.3.1 - bob On Thu, 2005-01-20 at 00:20 -0500, Stephen Tenberg wrote: > Ok, everything is working now. > > Only remaining problem is PDF font looks terrible, appears double-spaced. > > I tried doing a rlib_set_pdf_font - from php - but didn't seem to do > anything. > > On the other hand, the examples on the home page of the website look fine in > pdf. > > Thanks - Steve > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Bob D. <bd...@si...> - 2005-01-20 16:44:46
|
If you using RLIB for english purposes just configure it w/ --disable-utf8 Or rattle Chet to make it shut up :) - bob On Wed, 2005-01-19 at 23:36 -0500, Stephen Tenberg wrote: > Yeah!!! Got rlib working now (sortof). The example program shows no graphic > though and when I run from the command line I get this output. Its followed > by the report as normal. If I comment out the jpeg I get no errors. > > Why does rlib think this file is UTF8 and how can I stop that ????? Its > just the example program I cut and pasted from the doc file. > > Thanks - steve > > [root@powervault rlib]# php rlib.php > Setting output encoding to UTF-8Setting locale to > [LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_M > ESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C; > LC_IDENTIFICATION=C] FAILEDencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or > invalid [C]... using en_USencoding is NULL or invalid [C]... using > en_USencoding is NULL or invalid [C]... using en_USCPDF version > 2.02-r1-2Using UTF8 output to PDF is not fully supported by CLIBPDFUsing > UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF > is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully > supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by > CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 > output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is > not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully > supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by > CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 > output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is > not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully > supported by CLIBPDFX-Powered-By: PHP/4.3.10 > Content-Type: application/pdf > Content-Length: 3976 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Rlib-users mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-users |
From: Bob D. <bd...@si...> - 2005-01-20 16:43:33
|
How many "php-config"'s do you have on your system?? - bob On Wed, 2005-01-19 at 16:31 -0500, Michael McInally wrote: > Bob: > > You helped me to get Rlib running on a test machine, and I am now trying > to get it running on another machine. > > I have made it 99% through the install, and it is failing on > librlib.so. It does not seem to be finding the PHP extension or PHP > root directory. > > I went over all of the steps in our previous emails, but am unable to > resolve the problem myself. > > I installed PHP and PHP-devel 4.3.6 on this machine. > > I have mySQL and mySQL-devel on it as well. > > It is running Redhat 7.0. > > > php -f report_users.php > > Outputs: > > Warning: dl(): Unable to load dynamic library './librlib.so' - > ./librlib.so: cannot open shared object file: No such file or directory > in /home/volunteer/public_html/html/report_users.php on line 4 > > Fatal error: Call to undefined function: rlib_init() in > /home/volunteer/public_html/html/report_users.php on line 48 > > locate librlib.so > > Finds nothing... > > I also tried: > > ./configure --disable-utf8 > ./configure --prefix=/usr/local/lib/php --disable-utf8 > ./configure --prefix=/usr/lib/php --disable-utf8 > > None of them work... > > ./configure --prefix=/usr --disable-utf8 > > Outputs: > > rlib-1.3.0: > > prefix: /usr > compiler: gcc > Memory debugging: no > Warning Fun: no > Crash detection: yes > UTF8 disabled: yes > > INPUTS: > MYSQL: yes > POSTGRE: no > ODBC: no > > OUTPUTS: > PDF: yes > HTML: Always > CSV: Always > TEXT: Always > > BINDINGS: > PHP: yes > PHP entension dir: > /usr/local/lib/php/extensions/no-debug-non-zts-20020429 > PYTHON: no > PYTHON version: 2.2 > PYTHON entension dir: > JAVA: no > PERL: no > PERL entension dir: > > Music: Velvet Revolver > > Having Problems: rli...@li... > Want to contribute: rli...@li... > > > |
From: Michael M. <mci...@pi...> - 2005-01-20 14:32:25
|
It seems that my rlib extensions are being installed in the wrong directory. I do not know why. Anybody have any ideas? I am running Redhat 7.0, PHP & PHP-Devel 4.3.6, mySQL & mySQL-devel (newest, 4.something). This is an excerpt when I run "make install": ---------------------------------------------------------- Libraries have been installed in: /usr/local/lib/php/extensions/no-debug-non-zts-20020429 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' ---------------------------------------------------------- When I try a .php script to execute the rlib library, I get: Warning: dl(): Unable to load dynamic library './librlib.so' - ./librlib.so: cannot open shared object file: No such file or directory in /home/volunteer/public_html/html/report_users.php on line 4 Fatal error: Call to undefined function: rlib_init() in /home/volunteer/public_html/html/report_users.php on line 48 Somebody please help. |
From: Stephen T. <STe...@fc...> - 2005-01-20 05:20:57
|
Ok, everything is working now. Only remaining problem is PDF font looks terrible, appears double-spaced. I tried doing a rlib_set_pdf_font - from php - but didn't seem to do anything. On the other hand, the examples on the home page of the website look fine in pdf. Thanks - Steve |
From: Stephen T. <STe...@fc...> - 2005-01-20 04:36:45
|
Yeah!!! Got rlib working now (sortof). The example program shows no graphic though and when I run from the command line I get this output. Its followed by the report as normal. If I comment out the jpeg I get no errors. Why does rlib think this file is UTF8 and how can I stop that ????? Its just the example program I cut and pasted from the doc file. Thanks - steve [root@powervault rlib]# php rlib.php Setting output encoding to UTF-8Setting locale to [LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_M ESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C; LC_IDENTIFICATION=C] FAILEDencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USencoding is NULL or invalid [C]... using en_USCPDF version 2.02-r1-2Using UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFUsing UTF8 output to PDF is not fully supported by CLIBPDFX-Powered-By: PHP/4.3.10 Content-Type: application/pdf Content-Length: 3976 |
From: Stephen T. <STe...@fc...> - 2005-01-19 20:40:30
|
Sorry if I posted this on the devel list by error- Hi, I installed on Red Hat Fedora 2; no problems during install. When I run the PHP example nothing gets displayed, but my apache error log has: [Wed Jan 19 13:43:04 2005] [notice] child pid 10995 exit signal Quit (3) Any idea how to troubleshoot? Thanks - ST |
From: Bob D. <bd...@si...> - 2005-01-12 13:50:29
|
Hi..=20 > ldd gives this output: > seib@developer:~/rlib-1.3.0/src/examples/c> ldd example > not a dynamic executable >=20 > For me it is suprising. I don't know why? My Bad.. I meant :src/examples/c/.libs/example" I suspect you might not have /usr/local/lib in your /etc/ld.so.conf On RedHat boxes you have to configure rlib w/ ./configure --prefix=3D/usr In order for it to work - bob >=20 > configure output:=20 >=20 > seib@developer:~/rlib-1.3.0> ./configure > checking for a BSD-compatible install... /usr/bin/install -c >=20 > ................................................... >=20 > rlib-1.3.0: >=20 > prefix: /usr/local > compiler: gcc > Memory debugging: no > Warning Fun: no > Crash detection: yes > UTF8 disabled: no >=20 > INPUTS: > MYSQL: yes > POSTGRE: no > ODBC: no >=20 > OUTPUTS: > PDF: yes > HTML: Always > CSV: Always > TEXT: Always >=20 > BINDINGS: > PHP: yes > PHP entension dir: /usr/local/lib/php/extensions/no-debu= g-non-zts-20020429 > PYTHON: no > PYTHON version: 2.2 > PYTHON entension dir: > JAVA: no > PERL: no > PERL entension dir: >=20 > Music: Velvet Revolver >=20 > Having Problems: rli...@li... > Want to contribute: rli...@li... >=20 > Thanks, > Leo Seib >=20 > -----Urspr=C3=BCngliche Nachricht----- > Von: Bob Doan [mailto:bd...@si...]=20 > Gesendet: Dienstag, 11. Januar 2005 15:13 > An: Seib Leo > Cc: RLIB USERS > Betreff: Re: [Rlib-users] rlib-1.3.0 libr-mysql.so error >=20 > can you "ldd example" >=20 > Also after your run ./configure=20 >=20 > There is a little report @ the end.. can you send that also >=20 > Thanks! >=20 > - bob >=20 > On Tue, 2005-01-11 at 13:19 +0100, Seib Leo wrote: > > Hello, > >=20 > > =20 > >=20 > > I have compiled rlib-1.3.0 on SuSe Linux 9.2. I,ve got the following > > mesasage while running example in src/examples/c/example: > >=20 > > =20 > >=20 > > seib@developer:~/rlib-1.3.0/src/examples/c> ./example > >=20 > > Setting output encoding to ANSI_X3.4-1968 > >=20 > > encoding is NULL or invalid [C]... using en_USCould Not Load MYSQL > > Input [libr-mysql.so: cannot open shared object file: No such file or > > directory] > >=20 > > Could not connect to XML Database > >=20 > > =20 > >=20 > > But libr-mysql.so is on libpath: > >=20 > > =20 > >=20 > > ldconfig -v | grep libr-mysql.so shows > >=20 > > =20 > >=20 > > seib@developer:~/rlib-1.3.0/src/examples/c> /sbin/ldconfig -v | grep > > libr-mysql.so > >=20 > > libr-mysql-1.3.0.so -> libr-mysql.so > >=20 > > =20 > >=20 > > =20 > >=20 > > Can anybody help? > >=20 > > What is wrong? > >=20 > > =20 > >=20 > > Sincerely, Leo Seib > >=20 > >=20 >=20 |
From: Bob D. <bd...@si...> - 2005-01-11 14:13:19
|
can you "ldd example" Also after your run ./configure There is a little report @ the end.. can you send that also Thanks! - bob On Tue, 2005-01-11 at 13:19 +0100, Seib Leo wrote: > Hello, > > > > I have compiled rlib-1.3.0 on SuSe Linux 9.2. I,ve got the following > mesasage while running example in src/examples/c/example: > > > > seib@developer:~/rlib-1.3.0/src/examples/c> ./example > > Setting output encoding to ANSI_X3.4-1968 > > encoding is NULL or invalid [C]... using en_USCould Not Load MYSQL > Input [libr-mysql.so: cannot open shared object file: No such file or > directory] > > Could not connect to XML Database > > > > But libr-mysql.so is on libpath: > > > > ldconfig -v | grep libr-mysql.so shows > > > > seib@developer:~/rlib-1.3.0/src/examples/c> /sbin/ldconfig -v | grep > libr-mysql.so > > libr-mysql-1.3.0.so -> libr-mysql.so > > > > > > Can anybody help? > > What is wrong? > > > > Sincerely, Leo Seib > > |
From: Seib L. <LS...@LS...> - 2005-01-11 12:19:27
|
Hello, =20 I have compiled rlib-1.3.0 on SuSe Linux 9.2. I,ve got the following mesasage while running example in src/examples/c/example: =20 seib@developer:~/rlib-1.3.0/src/examples/c> ./example Setting output encoding to ANSI_X3.4-1968 encoding is NULL or invalid [C]... using en_USCould Not Load MYSQL Input [libr-mysql.so: cannot open shared object file: No such file or directory] Could not connect to XML Database =20 But libr-mysql.so is on libpath: =20 ldconfig -v | grep libr-mysql.so shows =20 seib@developer:~/rlib-1.3.0/src/examples/c> /sbin/ldconfig -v | grep libr-mysql.so libr-mysql-1.3.0.so -> libr-mysql.so =20 =20 Can anybody help? What is wrong? =20 Sincerely, Leo Seib |
From: Bob D. <bd...@si...> - 2004-12-29 15:03:04
|
Cool! I hope it works ;) Give it a try and if it crashes we can fight it. I have already made the changes to my source so the next version of RLIB will be more 64bit friendly out of the box - bob > 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 >>> >> >> > > > > ------------------------------------------------------- > 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 > |
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 >> > > |
From: Bob D. <bd...@si...> - 2004-12-28 23:16:41
|
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 > |
From: Billy S. <bi...@sc...> - 2004-12-28 22:21:33
|
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 > |
From: Bob D. <bd...@si...> - 2004-12-28 22:04:23
|
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 > |
From: Billy S. <bi...@sc...> - 2004-12-28 21:58:35
|
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 >> > > |
From: Bob D. <bd...@si...> - 2004-12-28 21:32:27
|
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 > |