LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Thread Tools
Old 04-17-2009, 12:46 AM   #1
wanghao
Member
 
Registered: Mar 2007
Distribution: centos
Posts: 124
Thanked: 0
Freebsd mysql source code install error


[Log in to get rid of this advertisement]
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!
wanghao is offline     Reply With Quote
Old 04-17-2009, 02:13 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Fedora, FreeBSD
Posts: 2,337
Thanked: 80
Update your ports tree and try again?

e.g.:
# cd /usr/ports/databases/mysql60-server && make clean && make install clean
anomie is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Error Code 1064 - MySQL Administrator a_m0d Linux - Server 6 02-27-2009 05:02 AM
How to get Freebsd 4.5 source code? chinmays *BSD 4 10-11-2006 04:10 AM
FreeBSD 6.0 - error code #1 t3ch *BSD 3 12-05-2005 10:21 AM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 08:49 PM
mysql source code anishtg Linux - Newbie 1 11-30-2004 09:17 AM


All times are GMT -5. The time now is 09:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration