|
Freebsd mysql source code install error
My distro is Freebsd 7.1 and Mysql is 6.0 community version i was going to install from the sourced code.
It's works well in the "configure",but when make it report like this:
cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -O3 -MT vi.o
-MD -MP -MF .deps/vi.Tpo -c -o vi.o vi.c
vi.c:918:74: error: macro "__weak_reference" requires 2 arguments, but only 1 given
vi.c: In function 'get_alias_text':
vi.c:918: error: expected declaration specifiers before '__weak_reference'
vi.c:923: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:953: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:998: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:1054: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:1103: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vi.c:918: error: parameter name omitted
i've googled about the case ,there's only one page which told me it was a bug in the old mysql version.
Any ideas,Thanks you in advance!
|