mysql compile error

Nabil SEFRIOUI admin at osmium-work.com
Sun Feb 27 18:40:33 PST 2005


i have build HLFS and when trying to compile mysql 4.1.10 i got this 
error :

make[2]: Entering directory `/src/mysql-4.1.10/strings'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O3 -DDBUG_OFF    
-MT strxmov.o -MD -MP -MF ".deps/strxmov.Tpo" -c -o strxmov.o 
strxmov.c; \
then mv -f ".deps/strxmov.Tpo" ".deps/strxmov.Po"; else rm -f 
".deps/strxmov.Tpo"; exit 1; fi
In file included from ../include/my_global.h:236,
                 from strxmov.c:33:
/usr/include/stdio.h:46: error: syntax error before "typedef"
make[2]: *** [strxmov.o] Error 1
make[2]: Leaving directory `/src/mysql-4.1.10/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/mysql-4.1.10'
make: *** [all] Error 2


configure line :
# ./configure --prefix=/opt/mysql --disable-assembler


any idea ?



More information about the hlfs-dev mailing list