hksonngan / mandelbulber

Automatically exported from code.google.com/p/mandelbulber
GNU General Public License v3.0
0 stars 0 forks source link

Cannot compile current svn-head on Ubuntu 13.10 (64-Bit) #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Following installation instructions from 
http://mandelbulber.googlecode.com/svn/trunk/README:
$ sudo apt-get install libgtk2.0-dev libjpeg8-dev
$ cd makefiles
$ make all
2. This leads to following compilation error:
Building target: mandelbulber
Invoking: GCC C++ Linker
g++ -o"mandelbulber" -L/usr/lib/x86_64-linux-gnu/  ./src/Render3D.o 
./src/algebra.o ./src/callbacks.o ./src/cimage.o ./src/cl_support.o 
./src/common_math.o ./src/database.o ./src/files.o ./src/fractal.o 
./src/image.o ./src/interface.o ./src/morph.o ./src/primitives.o 
./src/settings.o ./src/shaders.o ./src/texture.o ./src/timeline.o ./src/undo.o  
 -lpng -ljpeg  `pkg-config --libs gtk+-2.0 gthread-2.0`
./src/Render3D.o: In function `Render(sParamRender, cImage*, _GtkWidget*)':
Render3D.cpp:(.text+0x327a): undefined reference to `netRender'
Render3D.cpp:(.text+0x3362): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0x3386): undefined reference to `netRender'
Render3D.cpp:(.text+0x4c46): undefined reference to `netRender'
Render3D.cpp:(.text+0x5062): undefined reference to `netRender'
Render3D.cpp:(.text+0x5093): undefined reference to 
`CNetRender::receiveDataFromServer(char*)'
Render3D.cpp:(.text+0x50e9): undefined reference to `netRender'
Render3D.cpp:(.text+0x510e): undefined reference to `netRender'
Render3D.cpp:(.text+0x51a2): undefined reference to `netRender'
Render3D.cpp:(.text+0x5205): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0x520a): undefined reference to `netRender'
Render3D.cpp:(.text+0x5231): undefined reference to `netRender'
Render3D.cpp:(.text+0x5268): undefined reference to 
`CNetRender::receiveDataFromClient(char*, int, int)'
Render3D.cpp:(.text+0x5284): undefined reference to `netRender'
Render3D.cpp:(.text+0x528c): undefined reference to `CNetRender::GetData(void*)'
Render3D.cpp:(.text+0x53df): undefined reference to `netRender'
Render3D.cpp:(.text+0x5432): undefined reference to `netRender'
Render3D.cpp:(.text+0x578f): undefined reference to `netRender'
Render3D.cpp:(.text+0x583d): undefined reference to `netRender'
Render3D.cpp:(.text+0x588d): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0x5892): undefined reference to `netRender'
Render3D.cpp:(.text+0x58fe): undefined reference to `netRender'
Render3D.cpp:(.text+0x5925): undefined reference to `netRender'
Render3D.cpp:(.text+0x655c): undefined reference to 
`CNetRender::receiveDataFromServer(char*)'
Render3D.cpp:(.text+0x65bb): undefined reference to `netRender'
Render3D.cpp:(.text+0x65db): undefined reference to 
`CNetRender::sendDataToServer(void*, unsigned int, char*)'
Render3D.cpp:(.text+0x65fc): undefined reference to `netRender'
Render3D.cpp:(.text+0x6663): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0x6669): undefined reference to `netRender'
Render3D.cpp:(.text+0x671e): undefined reference to `netRender'
Render3D.cpp:(.text+0x672a): undefined reference to `CNetRender::GetData(void*)'
Render3D.cpp:(.text+0x675a): undefined reference to `netRender'
Render3D.cpp:(.text+0x6762): undefined reference to `CNetRender::GetData(void*)'
Render3D.cpp:(.text+0x6936): undefined reference to `netRender'
Render3D.cpp:(.text+0x693e): undefined reference to 
`CNetRender::sendDataToServer(void*, unsigned int, char*)'
Render3D.cpp:(.text+0x6ec0): undefined reference to `netRender'
Render3D.cpp:(.text+0x6f10): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0x6f15): undefined reference to `netRender'
./src/Render3D.o: In function `MainRender()':
Render3D.cpp:(.text+0x812c): undefined reference to `netRender'
Render3D.cpp:(.text+0x8320): undefined reference to `netRender'
Render3D.cpp:(.text+0x83b7): undefined reference to `netRender'
Render3D.cpp:(.text+0x8577): undefined reference to `netRender'
./src/Render3D.o:Render3D.cpp:(.text+0xc047): more undefined references to 
`netRender' follow
./src/Render3D.o: In function `ThumbnailRender2(sParamRender, cImage*)':
Render3D.cpp:(.text+0xc12f): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0xc153): undefined reference to `netRender'
Render3D.cpp:(.text+0xda28): undefined reference to `netRender'
Render3D.cpp:(.text+0xddf2): undefined reference to `netRender'
Render3D.cpp:(.text+0xde18): undefined reference to 
`CNetRender::receiveDataFromServer(char*)'
Render3D.cpp:(.text+0xde79): undefined reference to `netRender'
Render3D.cpp:(.text+0xde9e): undefined reference to `netRender'
Render3D.cpp:(.text+0xdedf): undefined reference to `netRender'
Render3D.cpp:(.text+0xdf3a): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0xdf3f): undefined reference to `netRender'
Render3D.cpp:(.text+0xdf61): undefined reference to `netRender'
Render3D.cpp:(.text+0xdf8d): undefined reference to 
`CNetRender::receiveDataFromClient(char*, int, int)'
Render3D.cpp:(.text+0xdfb4): undefined reference to `netRender'
Render3D.cpp:(.text+0xdfbc): undefined reference to `CNetRender::GetData(void*)'
Render3D.cpp:(.text+0xe10f): undefined reference to `netRender'
Render3D.cpp:(.text+0xe159): undefined reference to `netRender'
Render3D.cpp:(.text+0xe1c8): undefined reference to `netRender'
Render3D.cpp:(.text+0xe253): undefined reference to `netRender'
Render3D.cpp:(.text+0xe29a): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0xe29f): undefined reference to `netRender'
Render3D.cpp:(.text+0xe2f9): undefined reference to `netRender'
Render3D.cpp:(.text+0xe31a): undefined reference to `netRender'
Render3D.cpp:(.text+0xeefc): undefined reference to 
`CNetRender::receiveDataFromServer(char*)'
Render3D.cpp:(.text+0xef63): undefined reference to `netRender'
Render3D.cpp:(.text+0xef83): undefined reference to 
`CNetRender::sendDataToServer(void*, unsigned int, char*)'
Render3D.cpp:(.text+0xefa4): undefined reference to `netRender'
Render3D.cpp:(.text+0xf006): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0xf00c): undefined reference to `netRender'
Render3D.cpp:(.text+0xf087): undefined reference to `netRender'
Render3D.cpp:(.text+0xf093): undefined reference to `CNetRender::GetData(void*)'
Render3D.cpp:(.text+0xf0c3): undefined reference to `netRender'
Render3D.cpp:(.text+0xf0cb): undefined reference to `CNetRender::GetData(void*)'
Render3D.cpp:(.text+0xf296): undefined reference to `netRender'
Render3D.cpp:(.text+0xf29e): undefined reference to 
`CNetRender::sendDataToServer(void*, unsigned int, char*)'
Render3D.cpp:(.text+0xf6fd): undefined reference to `netRender'
Render3D.cpp:(.text+0xf744): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
Render3D.cpp:(.text+0xf749): undefined reference to `netRender'
./src/Render3D.o: In function `main':
Render3D.cpp:(.text.startup+0x88a): undefined reference to 
`CNetRender::CNetRender(int, int)'
Render3D.cpp:(.text.startup+0x897): undefined reference to `netRender'
./src/callbacks.o: In function `StopRenderingAndQuit(_GtkWidget*, _GdkEvent*, 
void*)':
callbacks.cpp:(.text+0x3030): undefined reference to `netRender'
callbacks.cpp:(.text+0x3073): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
callbacks.cpp:(.text+0x3078): undefined reference to `netRender'
callbacks.cpp:(.text+0x3144): undefined reference to 
`CNetRender::DeleteClient()'
./src/callbacks.o: In function `StopRendering(_GtkWidget*, void*)':
callbacks.cpp:(.text+0x388f): undefined reference to `netRender'
callbacks.cpp:(.text+0x38d3): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
callbacks.cpp:(.text+0x38d8): undefined reference to `netRender'
./src/callbacks.o: In function `PressedServerEnable(_GtkWidget*, void*)':
callbacks.cpp:(.text+0xb134): undefined reference to `netRender'
callbacks.cpp:(.text+0xb13c): undefined reference to 
`CNetRender::SetServer(char*, char*)'
callbacks.cpp:(.text+0xb189): undefined reference to `netRender'
callbacks.cpp:(.text+0xb191): undefined reference to 
`CNetRender::DeleteServer()'
./src/callbacks.o: In function `PressedServerScan(_GtkWidget*, void*)':
callbacks.cpp:(.text+0xb219): undefined reference to `netRender'
callbacks.cpp:(.text+0xb2da): undefined reference to `netRender'
callbacks.cpp:(.text+0xb2e6): undefined reference to 
`CNetRender::WaitForClient(char*)'
callbacks.cpp:(.text+0xb303): undefined reference to `netRender'
./src/callbacks.o: In function `SendSettingsToClients(sParamRender)':
callbacks.cpp:(.text+0xb471): undefined reference to `netRender'
callbacks.cpp:(.text+0xb4a3): undefined reference to 
`CNetRender::sendDataToClient(void*, unsigned int, char*, int, int)'
callbacks.cpp:(.text+0xb4a8): undefined reference to `netRender'
./src/callbacks.o: In function `PressedClientEnable(_GtkWidget*, void*)':
callbacks.cpp:(.text+0xb6ce): undefined reference to `netRender'
callbacks.cpp:(.text+0xb6da): undefined reference to 
`CNetRender::SetClient(char*, char*, char*)'
callbacks.cpp:(.text+0xb769): undefined reference to `netRender'
callbacks.cpp:(.text+0xb775): undefined reference to 
`CNetRender::receiveDataFromServer(char*)'
callbacks.cpp:(.text+0xb7e1): undefined reference to `netRender'
callbacks.cpp:(.text+0xb7e9): undefined reference to 
`CNetRender::DeleteClient()'
callbacks.cpp:(.text+0xb83e): undefined reference to `netRender'
callbacks.cpp:(.text+0xb846): undefined reference to 
`CNetRender::GetData(void*)'
./src/callbacks.o: In function `NoGUIClientEnable()':
callbacks.cpp:(.text+0xb8bf): undefined reference to `netRender'
callbacks.cpp:(.text+0xb8db): undefined reference to 
`CNetRender::SetClient(char*, char*, char*)'
callbacks.cpp:(.text+0xb940): undefined reference to `netRender'
callbacks.cpp:(.text+0xb953): undefined reference to 
`CNetRender::receiveDataFromServer(char*)'
callbacks.cpp:(.text+0xb9db): undefined reference to `netRender'
callbacks.cpp:(.text+0xb9e3): undefined reference to 
`CNetRender::GetData(void*)'
collect2: error: ld returned 1 exit status
make: *** [mandelbulber] Error 1

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Current svn-head

Please provide any additional information below.
I am using gcc-4.8:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.8.1-10ubuntu8' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.8 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin 
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk 
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre 
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 
--with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror 
--with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic 
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu 
--target=i686-linux-gnu
Thread model: posix
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) 

And Ubuntu OS:
$ uname -a 
Linux ubuntu 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 17:26:33 UTC 2013 i686 
i686 i686 GNU/Linux

Many thanks for your help

Martin Ettl

Original issue reported on code.google.com by ettl.mar...@gmail.com on 16 Nov 2013 at 1:36

GoogleCodeExporter commented 8 years ago
Thanks for info. Normally I don't use makefiles from this folder (usually use 
from Debug or Release folder), so that's why I did't realized that they are not 
up to date.
Now are fresh one.

Original comment by buddhi1...@gmail.com on 17 Nov 2013 at 7:12