From: Bob D. <bd...@si...> - 2004-02-01 19:09:07
|
Hi, It turns out you are the second solaris person to see these problems.. we have decided to eliminate the bsd stuff that linux/bsd has... but not solaris and other OS's so we can be more portable.. rlib 1.1.8 will be a lot more portable.. but if you want to get 1.1.7 going in order to fix that error you need to cast the subscripts to int so foo[whatever] make foo[(int)whatever] - Bob On Sun, 2004-02-01 at 13:33, Tony Cratz wrote: > Hello All, > > I hope you can help me. I had a couple of issues which I was > able to solved. Bzero and index both required the strings.h > (note the extra 's' on strings). So I just added the include > and every was fine. > > Until I got the following: > > gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rlib\" > -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBC=1 > -DHAVE_LIBM=1 -DHAVE_MYSQL=1 -DHAVE_PHP=1 -DHAVE_ICONV_H=1 -DHAVE_ICONV_OPEN=1 > -DICONV_CONST_CHAR_PP=1 -DICONV_ISO=ISO8859-1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_CPDFLIB_H=1 -DHAVE_LIBCPDF=1 -DENABLE_CRASH=1 -I. -I. > -I/usr/local/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/include -O3 > -fno-omit-frame-pointer -I/opt/apache/include/php -I/opt/apache/include/php/main > -I/opt/apache/include/php/Zend -I/opt/apache/include/php/TSRM -Wall -Werror -g > -O2 -c resolution.c -Wp,-MD,.deps/resolution.TPlo -fPIC -DPIC -o > .libs/resolution.o > cc1: warnings being treated as errors > resolution.c: In function `rlib_resolve_resultset_field': > resolution.c:86: warning: subscript has type `char' > *** Error code 1 > make: Fatal error: Command failed for target `resolution.lo' > Current working directory /home/cratz/src/rlib/rlib-1.1.7/libsrc > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > > > I can't figure out what the problem is. Pleaes help. > > > > Tony > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Rlib-devel mailing list > Rli...@li... > https://lists.sourceforge.net/lists/listinfo/rlib-devel |