error compiling mysql-4.1.8a

Man-wai Chang mwchang
Fri Jan 7 04:54:49 PST 2005


Anyone got similar problem?

gcc -c  -o my_strtoll10-x86.o my_strtoll10-x86.s
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O3 -DDBUG_OFF 
-MT bfill.o -MD -MP -MF ".deps/bfill.Tpo" -c -o bfill.o bfill.c; \
then mv -f ".deps/bfill.Tpo" ".deps/bfill.Po"; else rm -f 
".deps/bfill.Tpo"; exit 1; fi
In file included from bfill.c:32:
../include/my_global.h:491: parse error before "size_socket"
../include/my_global.h:491: warning: data definition has no type or 
storage class
../include/my_global.h:742: parse error before string constant
../include/my_global.h:789: parse error before "os_off_t"
../include/my_global.h:789: warning: data definition has no type or 
storage class
In file included from bfill.c:33:
../include/m_string.h:224: parse error before "strtoul"
../include/m_string.h:224: warning: data definition has no type or 
storage class
make[2]: *** [bfill.o] Error 1
make[2]: Leaving directory `/usr/src/mysql-4.1.8a/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-4.1.8a'
make: *** [all] Error 2
root at server: mysql-4.1.8a>

-- 
   .~.    Might, Courage, Vision. http://toylet.homeip.net
  / v \   Linux 2.4.28
/( _ )\  5:53pm up 16 days 1:41
   ^ ^    load average: 1.11 1.53 1.50


More information about the Linux-users mailing list