error compiling mysql-4.1.8a

A. Khattri ajai
Fri Jan 7 10:21:21 PST 2005


On Fri, 7 Jan 2005, Man-wai Chang wrote:

> 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>

Is this on Linux? What version of gcc?

I had no problems building 4.1 rfom tarball on an older server...


-- 
Aj.


More information about the Linux-users mailing list