[Octavian-devel] build problems
Status: Beta
Brought to you by:
wormm
From: James S. <st...@bt...> - 2003-10-23 11:35:23
|
Building on a Debian Sid system, using g++3.3, I had to add #include <assert.h> to octavian/Modules.cpp and octavian/Ports.cpp to get it to stop complaining about first use of "assert" but then it stops building at Port.cpp with: /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../io -I../gui -g -Wall -O6 -ffast-math -D_REENTRANT -D_DEBUG -c -o Port.lo `test -f Port.cpp || echo './'`Port.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../io -I../gui -g -Wall -O6 -ffast-math -D_REENTRANT -D_DEBUG -c Port.cpp -MT Port.lo -MD -MP -MF .deps/Port.TPlo -fPIC -DPIC -o .libs/Port.o Port.cpp:28:24: other_port.h: No such file or directory Port.cpp: In member function `void OCTAVIAN::Port::DisconnectAll()': Port.cpp:247: error: `other_port' undeclared (first use this function) Port.cpp:247: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [Port.lo] Error 1 make[2]: Leaving directory `/usr/local/octavian/octavian' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/octavian' make: *** [all] Error 2 I took out the offending lines (as a quick fix) and then had to add the include assert to Preset.cpp, XmlTree.cpp, LASPDAModule.cpp ConfigFile.cpp ModuleManager.cpp .... plus others Also, fltk uses Fl/fl.H rather than .h so I had to change all the includes in the gui section to reflect this. It now stops at the following line and I am stuck: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../io -I../octavian -I/usr/include/freetype2 -g -Wall -O2 -I/usr/X11R6/include -g -Wall -O6 -ffast-math -D_REENTRANT -D_DEBUG -c Settings.cpp -MT Settings.lo -MD -MP -MF .deps/Settings.TPlo -fPIC -DPIC -o .libs/Settings.o Settings.cpp:24:19: dlfcn.H: No such file or directory Settings.cpp: In static member function `static OCTAVIAN::SettingsWindow* OCTAVIAN::SettingsWindow::SettingsFactory(int, int, int, int, OCTAVIAN::Module*)': Settings.cpp:54: error: `dlsym' undeclared (first use this function) Settings.cpp:54: error: (Each undeclared identifier is reported only once for each function it appears in.) Settings.cpp:59: error: `dlerror' undeclared (first use this function) make[2]: *** [Settings.lo] Error 1 make[2]: Leaving directory `/usr/local/octavian/gui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/octavian' make: *** [all] Error 2 James |