From: John R. <jo...@id...> - 2004-01-22 20:28:57
|
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]: *** [resolution.lo] Error 1 make[1]: Leaving directory `/export/home/ric0017/rlib-1.1.8/libsrc' =3D=3D=3D=3D=3D=3D=3D 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' =3D=3D=3D=3D=3D=3D=3D resolution.c: In function `rlib_resolve_resultset_field': resolution.c:86: warning: subscript has type `char' source=3D'util.c' object=3D'util.lo' libtool=3Dyes \ depfile=3D'.deps/util.Plo' tmpdepfile=3D'.deps/util.TPlo' \ =3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D 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 |