octave-maintainers
[Top][All Lists]
Advanced

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

Re: build failure on OSX 10.9


From: Ben Abbott
Subject: Re: build failure on OSX 10.9
Date: Wed, 13 Nov 2013 21:53:59 -0500

On Nov 13, 2013, at 11:42 AM, Benjamin Abbott wrote:

>> On Nov 13, 2013, at 8:18 AM, "c." <address@hidden> wrote:
>> 
>>> On 13 Nov 2013, at 14:15, Ben Abbott <address@hidden> wrote:
>>> 
>>> Carlo,
>>> 
>>> You might try looking at Fink's info file for 3.6.4 to see if there are any 
>>> patches related to this.  Maybe the same for MacPorts?  Are you able to 
>>> install 3.6.4 via MacPorts?
>> 
>> Actually I was able to build without any changes until yesterday 
>> so I suspect this might be due to some of the latest changesets
> 
> Ok.  I've pulled and now see the problem as well.  Maybe one of jwe's latest 
> changesets?  I've cc'd him.
> 
> Ben

May be unrelated, but my build still fails with ....

/bin/sh ../libtool  --tag=CXX   --mode=compile /opt/local/bin/g++-mp-4.7 
-DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -I/opt/local/include/QtGui 
-I/opt/local/include -I/opt/local/include/QtNetwork -I/opt/local/include 
-I/opt/local/include/QtCore -I./qterminal/libqterminal -Isrc -I./src 
-I./src/m-editor -I./src/qtinfo -I../liboctave/cruft/misc -I../liboctave/array 
-I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators 
-I../liboctave/operators -I../liboctave/system -I../liboctave/util 
-I../libinterp -I../libinterp -I../libinterp/parse-tree 
-I../libinterp/parse-tree -I../libinterp/corefcn -I../libinterp/corefcn 
-I../libinterp/octave-value -I../libgnu -D_THREAD_SAFE -I/opt/local/include  
-Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings 
-Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread -MT 
src/m-editor/src_libgui_src_la-file-editor-tab.lo -MD -MP -MF 
src/m-editor/.deps/src_libgui_src_la-file-editor-tab.Tpo -c -o 
src/m-editor/src_libgui_src_la-file-editor-tab.lo `test -f 
'src/m-editor/file-editor-tab.cc' || echo './'`src/m-editor/file-editor-tab.cc
libtool: compile:  /opt/local/bin/g++-mp-4.7 -DHAVE_CONFIG_H -I. -I.. 
-I/opt/local/include -I/opt/local/include/QtGui -I/opt/local/include 
-I/opt/local/include/QtNetwork -I/opt/local/include -I/opt/local/include/QtCore 
-I./qterminal/libqterminal -Isrc -I./src -I./src/m-editor -I./src/qtinfo 
-I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric 
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators 
-I../liboctave/system -I../liboctave/util -I../libinterp -I../libinterp 
-I../libinterp/parse-tree -I../libinterp/parse-tree -I../libinterp/corefcn 
-I../libinterp/corefcn -I../libinterp/octave-value -I../libgnu -D_THREAD_SAFE 
-I/opt/local/include -Wall -W -Wshadow -Wold-style-cast -Wformat 
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -O2 -m64 
-D_THREAD_SAFE -pthread -MT src/m-editor/src_libgui_src_la-file-editor-tab.lo 
-MD -MP -MF src/m-editor/.deps/src_libgui_src_la-file-editor-tab.Tpo -c 
src/m-editor/file-editor-tab.cc  -fno-common -DPIC -o 
src/m-editor/.libs/src_libgui_src_la-file-editor-tab.o
In file included from ../libgnu/stdio.h:43:0,
                 from ../libgnu/wchar.h:71,
                 from /opt/local/include/gcc47/c++/cwchar:46,
                 from /opt/local/include/gcc47/c++/bits/postypes.h:42,
                 from /opt/local/include/gcc47/c++/bits/char_traits.h:42,
                 from /opt/local/include/gcc47/c++/string:42,
                 from /opt/local/include/QtCore/qstring.h:54,
                 from /opt/local/include/QtCore/qobject.h:48,
                 from /opt/local/include/Qsci/qscilexercpp.h:38,
                 from src/m-editor/file-editor-tab.cc:36:
/usr/include/stdio.h:265:7: error: previous declaration of 'char* gets(char*)' 
with 'C' linkage
In file included from ../libgnu/wchar.h:71:0,
                 from /opt/local/include/gcc47/c++/cwchar:46,
                 from /opt/local/include/gcc47/c++/bits/postypes.h:42,
                 from /opt/local/include/gcc47/c++/bits/char_traits.h:42,
                 from /opt/local/include/gcc47/c++/string:42,
                 from /opt/local/include/QtCore/qstring.h:54,
                 from /opt/local/include/QtCore/qobject.h:48,
                 from /opt/local/include/Qsci/qscilexercpp.h:38,
                 from src/m-editor/file-editor-tab.cc:36:
../libgnu/stdio.h:1034:1: error: conflicts with new declaration with 'C++' 
linkage

Ben



reply via email to

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