LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-12-2005, 02:15 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
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.

Last edited by Linux.tar.gz; 11-12-2005 at 03:11 PM.
 
Old 01-20-2006, 07:59 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
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?!

Last edited by Tuttle; 01-20-2006 at 08:27 PM.
 
Old 03-23-2008, 10:46 AM   #3
LightHash
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Tuttle View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
a path error compiling ardour snakecreepsdown Linux - Newbie 3 05-12-2005 03:06 AM
Hydrogen and Ardour Problem jasonmcneil0 Linux - Software 2 07-22-2004 08:11 PM
Problem when compiling gtk-doc on slackware (9.0) sebemi Slackware 0 09-06-2003 06:40 AM
ardour pkg-config problem AUM_HA Linux - Software 1 08-07-2003 03:57 PM
Problem with compiling module under slackware Altos Programming 0 02-22-2003 12:46 PM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration