From: Tony C. <cr...@he...> - 2004-02-01 18:35:13
|
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 |