#20144 closed defect (worksforme)
Octave 3.2.0 build error
Reported by: | mf2k (Frank Schima) | Owned by: | alakazam@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | stechert@… | |
Port: | octave |
Description
Mac OS X 10.5.7 Intel. Xcode 3.1.3.
---> Building octave Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_math_octave/work/octave-3.2.0" && make all " returned error 2 Command output: /usr/bin/g++-4.0 -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -O2 -I/opt/local/include/freetype2 -I/opt/local/include \ -L.. -fPIC -L/opt/local/lib -o octave \ main.o \ -L../liboctave -L../libcruft -L../src \ -loctinterp -loctave -lcruft \ -lumfpack -lamd -lcamd -lcolamd \ -lcholmod -lmetis -lccolamd -lcxsparse -framework Accelerate \ -lfftw3 -lfftw3f -Wl,-framework -Wl,OpenGL \ -L/opt/local/lib -lX11 -Wl,-framework -Wl,Carbon -lreadline -lncurses -framework Accelerate -lhdf5 -lz -lm -L/opt/local/lib -lfreetype -lz -Wl,-framework -Wl,OpenGL -L/opt/local/lib -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/ -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4 -L/opt/local/lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/ -L/usr/lib/gcc// -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/// -L/opt/local/lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/// -L/usr/lib// -lhdf5 -lz -lf95 -lm -lfreetype -lSystemStubs -lmx /usr/bin/g++-4.0 -c -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -O2 -I/opt/local/include/freetype2 -I/opt/local/include ./DLD-FUNCTIONS/amd.cc -o pic/amd.o /usr/bin/g++-4.0 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o amd.oct pic/amd.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -framework Accelerate -lfftw3 -lfftw3f -lreadline -lncurses -framework Accelerate -lhdf5 -lz -lm -L/opt/local/lib -lfreetype -lz -Wl,-framework -Wl,OpenGL -L/opt/local/lib -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/ -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4 -L/opt/local/lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/ -L/usr/lib/gcc// -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/// -L/opt/local/lib/gcc-lib/i386-apple-darwin9.5.0/4.0.4/// -L/usr/lib// -lhdf5 -lz -lf95 -lm -lfreetype -lSystemStubs -lmx /usr/bin/g++-4.0 -c -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -O2 -I/opt/local/include/freetype2 -I/opt/local/include ./DLD-FUNCTIONS/balance.cc -o pic/balance.o /opt/local/include/utils.h: In function 'int bigendianp()': /opt/local/include/utils.h:16: warning: use of old-style cast /opt/local/include/utils.h: In function 'int32_t swap32(int32_t)': /opt/local/include/utils.h:22: warning: use of old-style cast /opt/local/include/utils.h:23: warning: use of old-style cast /opt/local/include/utils.h:24: warning: use of old-style cast /opt/local/include/utils.h:25: warning: use of old-style cast /opt/local/include/utils.h: In function 'int16_t swap16(int16_t)': /opt/local/include/utils.h:29: warning: use of old-style cast /opt/local/include/utils.h:30: warning: use of old-style cast /opt/local/include/utils.h: In function 'char* copystring(const char*)': /opt/local/include/utils.h:90: error: invalid conversion from 'void*' to 'char*' /opt/local/include/utils.h: In function 'char* catstring(char*, const char*)': /opt/local/include/utils.h:100: error: invalid conversion from 'void*' to 'char*' /opt/local/include/utils.h:102: error: invalid conversion from 'void*' to 'char*' make[2]: *** [pic/balance.o] Error 1 make[1]: *** [src] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Change History (2)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by alakazam@…
The default variant to build octave is now gcc43, which might have affected this issue.
Note: See
TracTickets for help on using
tickets.
I'm not sure what may have fixed it, but octave builds for me now.