From: Bob D. <bd...@si...> - 2004-01-22 23:12:02
|
Hey.. I think I found all the problems except for pointer warning... which I have never seen before.. the way I'm using it.. are you 64 bit by any chance??? <Note to Chet> Chet... do you know what that pointer stuff is all about? </Note to Chet> So I upload 1.1.8 again... try again... it will fix the subscripts I think next problem is that odd SUN symbol... which I have never seen before.. I suspect it is a RLIB dependency that is bringing it in.. so lets try this... can you start disabling rlib features one @ a time.. like mysql use --disable-mysql see ./configure --help for them all... make sure rlib is compiling bare bones.. see if we are ok... I suspect it is the mysql client that is bringing in that odd SUN symbol for compression on the wire.. if it is then on solaris we will need to link w/ something else... OR it is cpdflib using zlib and we are not linking that in automatically on solaris... maybe try adding in a -lz in the link?? let me know if any of that works can you tell me how you plan on using rlib.. with what features?? (like mysql && php).. or whatever - Bob On Thu, 2004-01-22 at 15:27, John Richardson wrote: > Hello, > I am running Solaris version 8 using gcc compiler version 3.3.2. When > compiling rlib, I get the following warnings: > > resolution.c: In function `rlib_resolve_resultset_field': > resolution.c:86: warning: subscript has type `char' > make[1]: *** [resolut.ion.lo] Error 1 > make[1]: Leaving directory `/export/home/ric0017/rlib-1.1.8/libsrc' > > ======= > > 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' > > ======= > > resolution.c: In function `rlib_resolve_resultset_field': > resolution.c:86: warning: subscript has type `char' > source='util.c' object='util.lo' libtool=yes \ > depfile='.deps/util.Plo' tmpdepfile='.deps/util.TPlo' \ > > > ======= > > 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 > > ======== > > However, When I compile without the "Werror" in the Makefile, it > ignores the warning but errors out with the following: > > /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 > > Your help is much appreciated. > > Regards, > John Richardson > > > |