my_realloc.c:36: error: syntax error before ‘(’ token my_realloc.c:36: error: syntax error before ‘size’ gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DDATADIR="\"/usr/local/mysql/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/usr/local/mysql/etc\"" -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I. -g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wunused-parameter -mtune=pentium-m -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT mulalloc.o -MD -MP -MF .deps/mulalloc.Tpo -c -o mulalloc.o mulalloc.c my_realloc.c:39: error: syntax error before string constant my_realloc.c:39: warning: type defaults to ‘int’ in declaration of ‘_db_enter_’ my_realloc.c:39: error: conflicting types for ‘_db_enter_’ ../include/my_dbug.h:45: error: previous declaration of ‘_db_enter_’ was here my_realloc.c:39: warning: data definition has no type or storage class my_realloc.c:40: error: syntax error before string constant my_realloc.c:40: warning: type defaults to ‘int’ in declaration of ‘oldpoint’ my_realloc.c:40: error: syntax error before ‘ulong’ my_realloc.c:43: error: syntax error before ‘!’ token my_realloc.c:69: error: syntax error before ‘->’ token my_realloc.c:74: error: syntax error before string constant my_malloc.c:26: error: syntax error before ‘(’ token my_malloc.c:29: error: syntax error before string constant my_malloc.c:29: warning: type defaults to ‘int’ in declaration of ‘_db_enter_’ my_malloc.c:29: error: conflicting types for ‘_db_enter_’ ../include/my_dbug.h:45: error: previous declaration of ‘_db_enter_’ was here my_malloc.c:29: warning: data definition has no type or storage class my_malloc.c:30: error: syntax error before string constant my_malloc.c:30: warning: type defaults to ‘int’ in declaration of ‘size’ my_malloc.c:30: warning: type defaults to ‘int’ in declaration of ‘my_flags’ my_malloc.c:30: error: syntax error before ‘)’ token my_malloc.c:46: error: syntax error before string constant my_malloc.c:66: error: syntax error before ‘(’ token my_malloc.c:66: error: syntax error before ‘length’ my_malloc.c:75: error: syntax error before ‘(’ token my_malloc.c:78: error: ‘from’ undeclared here (not in a function) my_malloc.c:78: error: initializer element is not constant my_malloc.c:79: error: syntax error before ‘if’ my_malloc.c:85: error: syntax error before ‘(’ token my_malloc.c:85: error: syntax error before ‘length’ my_malloc.c:91: warning: type defaults to ‘int’ in declaration of ‘ptr’ my_malloc.c:91: error: variable-size type declared outside of any function my_malloc.c:91: error: variable-sized object may not be initialized my_malloc.c:91: warning: data definition has no type or storage class my_malloc.c:92: error: syntax error before ‘}’ token make[1]: *** [my_malloc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [my_realloc.o] Error 1