LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem compiling ardour on Slackware 10.2. (https://www.linuxquestions.org/questions/linux-software-2/problem-compiling-ardour-on-slackware-10-2-a-382498/)

Linux.tar.gz 11-12-2005 02:15 PM

Problem compiling ardour on Slackware 10.2.
 
Hi! I have all dependecies, but the scons compile end by:

........
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' referenced in section `.rodata' of libs/gtkmmext/libgtkmmext.a(gtk_ui.o): defined in discarded section `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' of libs/gtkmmext/libgtkmmext.a(gtk_ui.o)

/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' referenced in section `.rodata' of libs/gtkmmext/libgtkmmext.a(gtk_ui.o): defined in discarded section `.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc' of libs/gtkmmext/libgtkmmext.a(gtk_ui.o)

collect2: ld returned 1 exit status
scons: *** [gtk_ardour/ardour.bin] Error 1
scons: building terminated because of errors.

Any ideas?

EDIT:------------------------
I asked on IRC ardour channel, and it seems to be an unsolved issue, so wait and see.

Tuttle 01-20-2006 07:59 PM

I get this when compiling dangerdeep:
Code:

g++ -Wall `sdl-config --cflags` -g -O2 -DUSE_SSE -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/water.o src/water.cpp
src/water.cpp: In member function `water::water(unsigned int, unsigned int,
  double)':
src/water.cpp:184: warning: unused variable `unsigned int rx'
src/water.cpp: At top level:
src/water.cpp:907: warning: `unsigned int nrfm' defined but not used
g++ -Wall `sdl-config --cflags` -g -O2 -DUSE_SSE -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/widget.o src/widget.cpp
g++ -Wall `sdl-config --cflags` -g -O2 -DDATADIR=\"/usr/local/share/dangerdeep/\" -DVERSION=\"0.1.0\" -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/global_data.o src/global_data.cpp
g++ -Wall `sdl-config --cflags` -g -O2 -DUSE_SSE -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/water_sse.o src/water_sse.cpp
src/water_sse.cpp: In function `void get_height_and_displacement_sse(const
  Uint32*)':
src/water_sse.cpp:51: error: syntax error before `)' token
src/water_sse.cpp:108: error: syntax error before `)' token
src/water_sse.cpp: In function `void water_compute_coord_1line_sse(const
  vector2f&, const vector2f&, const vector2f&, const vector2f&, const Uint32*,
  float, float*, unsigned int)':
src/water_sse.cpp:173: error: syntax error before `)' token
src/water_sse.cpp:199: error: syntax error before `)' token
src/water_sse.cpp:285: error: syntax error before `)' token
src/water_sse.cpp:294: error: syntax error before `)' token
src/water_sse.cpp:299: error: syntax error before `)' token
src/water_sse.cpp:308: error: syntax error before `)' token
src/water_sse.cpp:315: error: syntax error before `)' token
src/water_sse.cpp:325: error: syntax error before `)' token
src/water_sse.cpp:332: error: syntax error before `)' token
src/water_sse.cpp:344: error: syntax error before `)' token
src/water_sse.cpp:351: error: syntax error before `)' token
src/water_sse.cpp:361: error: syntax error before `)' token
src/water_sse.cpp:369: error: syntax error before `)' token
src/water_sse.cpp:393: error: syntax error before `)' token
src/water_sse.cpp:410: error: syntax error before `)' token
scons: *** [build/linux/water_sse.o] Error 1
scons: building terminated because of errors.

I posted here because it's the only scons ref. i saw. It's probably unrelated to your post :/

edit:
this is (part of) the output of ./configure :
Code:

Checking for C header file gl.h... yes
Checking for C header file glu.h... yes
Checking for C header file SDL.h... yes
Checking for C header file SDL_image.h... yes
Checking for C header file SDL_net.h... yes
Checking for C header file SDL_mixer.h... yes
Checking for C header file fftw3.h... yes
Checking for main() in C library fftw3f... no
scons: done reading SConscript files.
scons: Building targets ...

How do I get a "yes" for fftw3f?!

LightHash 03-23-2008 10:46 AM

Quote:

Originally Posted by Tuttle (Post 2059222)
I get this when compiling dangerdeep:
Code:

g++ -Wall `sdl-config --cflags` -g -O2 -DUSE_SSE -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/water.o src/water.cpp
src/water.cpp: In member function `water::water(unsigned int, unsigned int,
  double)':
src/water.cpp:184: warning: unused variable `unsigned int rx'
src/water.cpp: At top level:
src/water.cpp:907: warning: `unsigned int nrfm' defined but not used
g++ -Wall `sdl-config --cflags` -g -O2 -DUSE_SSE -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/widget.o src/widget.cpp
g++ -Wall `sdl-config --cflags` -g -O2 -DDATADIR=\"/usr/local/share/dangerdeep/\" -DVERSION=\"0.1.0\" -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/global_data.o src/global_data.cpp
g++ -Wall `sdl-config --cflags` -g -O2 -DUSE_SSE -I/usr/include/SDL -I/usr/include/GL -c -o build/linux/water_sse.o src/water_sse.cpp
src/water_sse.cpp: In function `void get_height_and_displacement_sse(const
  Uint32*)':
src/water_sse.cpp:51: error: syntax error before `)' token
src/water_sse.cpp:108: error: syntax error before `)' token
src/water_sse.cpp: In function `void water_compute_coord_1line_sse(const
  vector2f&, const vector2f&, const vector2f&, const vector2f&, const Uint32*,
  float, float*, unsigned int)':
src/water_sse.cpp:173: error: syntax error before `)' token
src/water_sse.cpp:199: error: syntax error before `)' token
src/water_sse.cpp:285: error: syntax error before `)' token
src/water_sse.cpp:294: error: syntax error before `)' token
src/water_sse.cpp:299: error: syntax error before `)' token
src/water_sse.cpp:308: error: syntax error before `)' token
src/water_sse.cpp:315: error: syntax error before `)' token
src/water_sse.cpp:325: error: syntax error before `)' token
src/water_sse.cpp:332: error: syntax error before `)' token
src/water_sse.cpp:344: error: syntax error before `)' token
src/water_sse.cpp:351: error: syntax error before `)' token
src/water_sse.cpp:361: error: syntax error before `)' token
src/water_sse.cpp:369: error: syntax error before `)' token
src/water_sse.cpp:393: error: syntax error before `)' token
src/water_sse.cpp:410: error: syntax error before `)' token
scons: *** [build/linux/water_sse.o] Error 1
scons: building terminated because of errors.

I posted here because it's the only scons ref. i saw. It's probably unrelated to your post :/

edit:
this is (part of) the output of ./configure :
Code:

Checking for C header file gl.h... yes
Checking for C header file glu.h... yes
Checking for C header file SDL.h... yes
Checking for C header file SDL_image.h... yes
Checking for C header file SDL_net.h... yes
Checking for C header file SDL_mixer.h... yes
Checking for C header file fftw3.h... yes
Checking for main() in C library fftw3f... no
scons: done reading SConscript files.
scons: Building targets ...

How do I get a "yes" for fftw3f?!

hey guys..

wget http://www.fftw.org/fftw-3.1.2.tar.gz
tar zxvf fftw-3.1.2.tar.gz
cd fftw-3.1.2
./configure --enable-float
make
make install

and it should work now... xD


All times are GMT -5. The time now is 03:53 AM.