From: Bob D. <bd...@si...> - 2004-01-22 19:39:18
|
Hi.. Try downloading that again.. i replaced the index's with strchr's.. that should be more solaris friendly.. So.. send the next round of warnings/ errors to the list till we get it all working What compiler and version are you using?? and what version of solaris?? - Bob On Thu, 2004-01-22 at 12:47, John Richardson wrote: > Hi Bob, > > WOW! Thank you so much for your help! I enjoyed unwrapping your present > very much. However, I hit another road block. Perhaps you can help again. > I get the following error after "configure": > > eportgen.c: In function `execute_pcodes_for_line': > reportgen.c:421: warning: implicit declaration of function `index' > make[1]: *** [reportgen.lo] Error 1 > make[1]: Leaving directory `/export/home/ric0017/rlib-1.1.8/libsrc' > make: *** [all-recursive] Error 1 > > If I compile without "Werror" i get the following error: > > /export/home/ric0017/rlib-1.1.8/libsrc/.libs/libr.so: undefined reference to > `compress@SUNW_1.1' > collect2: ld returned 1 exit status > make[1]: *** [rlibc] Error 1 > make[1]: Leaving directory `/export/home/ric0017/rlib-1.1.8/bin' > make: *** [all-recursive] Error 1 > > > I am not sure if I need to be concerned about the warning messages or not. > But here are some more warnings that i get when compiling: > > datasource.c: In function `rlib_add_datasource_mysql_private': > datasource.c:49: warning: dereferencing type-punned pointer will break > strict-aliasing rules > datasource.c:50: warning: dereferencing type-punned pointer will break > strict-aliasing rules > ========= > pcode_op_functions.c: In function `rlib_pcode_operator_stod_common': > pcode_op_functions.c:829: warning: implicit declaration of function > `localtime_r' > ========= > pcode.c: In function `rlib_str_to_long_long': > pcode.c:138: warning: implicit declaration of function `index' > pcode.c: In function `rlib_new_operand': > pcode.c:233: warning: subscript has type `char' > ========= > util.c: In function `hextochar': > util.c:162: warning: subscript has type `char' > util.c: In function `colornames': > util.c:170: warning: subscript has type `char' > ========= > reportgen.c: In function `execute_pcodes_for_line': > reportgen.c:421: warning: implicit declaration of function `index' > > I know this is a lot to ask but any help would be appreciated. I am trying > to produce some kick butt reports and this software is the ticket. I have > tried the others like agata and they don't compare from what I can see. I > especially like the fact that it is web generated... > > Thanks again for your help! > > Regards, > John > > BTW, I plan > > > ----- Original Message ----- > From: "Bob Doan" <bd...@si...> > To: "John Richardson" <jo...@id...> > Cc: "RLIB USERS" <rli...@li...> > Sent: Thursday, January 22, 2004 12:02 PM > Subject: Re: [Rlib-users] Rlib on Solaris > > > > Hey John, > > > > It seems solaris does not have bzero.. except w/ BSD compatability > > library.. and It also seems vasprintf is the same way.. so because you > > tried so hard for 2 days.. and since rlib 1.1.7 has not even been out in > > the wild for 1 day I made you a present > > > > http://rlib.sicompos.com/rlib-1.1.8.tar.gz > > > > this will help things along.. should make it compile on solaris.. at > > least what you have reported so far > > > > let me know > > > > - bob > > > > On Thu, 2004-01-22 at 10:10, John Richardson wrote: > > > Hello, > > > > > > Has anyone ever successfully compiled RLib on Solaris. I have tried > > > unsuccessfully for 2 days now. I get the following make errors after: > > > > > > parsexml.c: In function `utf8_to_8813': > > > parsexml.c:38: warning: implicit declaration of function `bzero' > > > make[1]: *** [parsexml.lo] Error 1 > > > make[1]: Leaving directory > > > `/usr/local/apache2/htdocs/rlib-1.1.7/libsrc' > > > make: *** [all-recursive] Error 1 > > > > > > If I compile without errors on warnings(remove -Werror), i get the > > > following compile error: > > > > > > /usr/local/apache2/htdocs/rlib-1.1.7/libsrc/.libs/libr.so: undefined > > > reference to `compress@SUNW_1.1' > > > /usr/local/apache2/htdocs/rlib-1.1.7/libsrc/.libs/libr.so: undefined > > > reference to `vasprintf' > > > collect2: ld returned 1 exit status > > > make[1]: *** [rlibc] Error 1 > > > make[1]: Leaving directory `/usr/local/apache2/htdocs/rlib-1.1.7/bin' > > > make: *** [all-recursive] Error 1 > > > > > > I would love to use this great program. But cant get it to compile. > > > Someone please help. > > > > > > Thanks in advance, > > > John Richardson |