Build errors in my_sync.c on 5.1.35
Hi. I'm very new to MySQL and trying to build 5.1.35 on glibc-2.2.5, which I suspect may be the problem. I'm receiving the following error:
gcc -DDEFAULT_BASEDIR=\"/\" -DDATADIR="\"/var/lib/mysql\"" -DDEFAULT_CHARSET_HOME="\"/\"" -DSHAREDIR="\"/usr/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/etc\"" -DHAVE_CONFIG_H -I. -I../include -I../zlib -I../include -I../include -I. -g -DSAFE_MUTEX -march=i386 -mcpu=i686 -DUNIV_LINUX -MT my_sync.o -MD -MP -MF .deps/my_sync.Tpo -c -o my_sync.o my_sync.c
my_sync.c: In function `my_sync_dir':
my_sync.c:108: parse error before `dir_fd'
my_sync.c:112: `correct_dir_name' undeclared (first use in this function)
my_sync.c:112: (Each undeclared identifier is reported only once
my_sync.c:112: for each function it appears in.)
my_sync.c:117: `dir_fd' undeclared (first use in this function)
my_sync.c:120: `res' undeclared (first use in this function)
make[1]: *** [my_sync.o] Error 1
Where do I go from here to troubleshoot this error?
Thanks,
Alex
Subject
Views
Written By
Posted
Build errors in my_sync.c on 5.1.35
3976
June 11, 2009 09:05PM
2191
June 12, 2009 04:42AM
2165
June 12, 2009 11:11AM
2196
June 13, 2009 09:21AM
2133
June 17, 2009 11:59AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.