LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-29-2012, 04:10 AM   #1
squishything
LQ Newbie
 
Registered: Jun 2012
Distribution: Ubuntu 12.04
Posts: 2

Rep: Reputation: Disabled
Installing SPro on ubuntu12.04


SPro can be downloaded here and it's installed by ./configure, make, make install. However, make produces this error:

Code:
ros@ubuntu:~/Programs/spro-4.0$ make
make  all-recursive
make[1]: Entering directory `/home/ros/Programs/spro-4.0'
Making all in doc
make[2]: Entering directory `/home/ros/Programs/spro-4.0/doc'
make[2]: Leaving directory `/home/ros/Programs/spro-4.0/doc'
Making all in auxdir
make[2]: Entering directory `/home/ros/Programs/spro-4.0/auxdir'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ros/Programs/spro-4.0/auxdir'
Making all in test
make[2]: Entering directory `/home/ros/Programs/spro-4.0/test'
Making all in ref
make[3]: Entering directory `/home/ros/Programs/spro-4.0/test/ref'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ros/Programs/spro-4.0/test/ref'
Making all in dat
make[3]: Entering directory `/home/ros/Programs/spro-4.0/test/dat'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ros/Programs/spro-4.0/test/dat'
make[3]: Entering directory `/home/ros/Programs/spro-4.0/test'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/ros/Programs/spro-4.0/test'
make[2]: Leaving directory `/home/ros/Programs/spro-4.0/test'
make[2]: Entering directory `/home/ros/Programs/spro-4.0'
gcc  -g -O2   -o scopy  scopy.o getopt.o getopt1.o -lm -L. -lspro  
./libspro.a(misc.o): In function `spf_buf_normalize':
/home/ros/Programs/spro-4.0/misc.c:185: undefined reference to `sqrt'
/home/ros/Programs/spro-4.0/misc.c:276: undefined reference to `sqrt'
./libspro.a(misc.o): In function `set_lifter':
/home/ros/Programs/spro-4.0/misc.c:402: undefined reference to `sin'
./libspro.a(misc.o): In function `sig_normalize':
/home/ros/Programs/spro-4.0/misc.c:425: undefined reference to `sqrt'
./libspro.a(misc.o): In function `set_sig_win':
/home/ros/Programs/spro-4.0/misc.c:458: undefined reference to `cos'
/home/ros/Programs/spro-4.0/misc.c:473: undefined reference to `cos'
/home/ros/Programs/spro-4.0/misc.c:473: undefined reference to `cos'
/home/ros/Programs/spro-4.0/misc.c:465: undefined reference to `cos'
collect2: ld returned 1 exit status
make[2]: *** [scopy] Error 1
make[2]: Leaving directory `/home/ros/Programs/spro-4.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ros/Programs/spro-4.0'
make: *** [all] Error 2
I've tried downloading different versions but always the same error. Is there something I'm missing and need to install first?
 
Old 06-29-2012, 04:59 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Quote http://www.irisa.fr/metiss/guig/spro/download.html :
"Last modified: Mar 05, 2004, .."

Version 4.0.1 : Mainly 2003 code.
May not work with your default gcc = version 4.6.3.

Please do : sudo apt-get install g++-4.4 g++-4.5
.. Then you have much more choice : 3 times gcc / g++ versions.

Spro-4.0 should do OK with gcc-4.5. This example uses "4.4" :
cd spro-4.0/ && export CC=gcc-4.4 && ./configure && make

.
 
Old 06-29-2012, 01:18 PM   #3
squishything
LQ Newbie
 
Registered: Jun 2012
Distribution: Ubuntu 12.04
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you, that's worked!
 
  


Reply



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
How Join Ubuntu12.04 to LDAP SAMBA CENTOS pc18tb Linux - Server 2 06-27-2012 10:49 PM
LXer: Nvidia 302.17 has been released! Install in Ubuntu12.04, LinuxMint13, Fedora17 LXer Syndicated Linux News 0 06-19-2012 03:10 AM
Does Ubuntu12.04 Nouveau driver implement Optimus laptop jao_madn Linux - Hardware 5 06-03-2012 07:25 AM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration