octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30721] Can't build tip on FreeBSD


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #30721] Can't build tip on FreeBSD
Date: Wed, 08 Sep 2010 15:02:15 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.55 Safari/534.3

Follow-up Comment #20, bug #30721 (project octave):

I'm no expert, but it looks to me like the wrong getopt.h is being loaded.

/home/wsprague/SOURCES/octave/libgnu/getopt.h:196: error: redefinition of
'struct option' 
/usr/include/getopt.h:53: error: previous definition of 'struct option' 

Have you tried to place octave's version ahead of your system's getopt.h?

CPPFLAGS="-I$HOME/SOURCES/octave/libgnu -I/usr/local/include -I/usr/include"

Ben

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30721>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]