LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-29-2004, 01:47 AM   #1
noeffort
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Rep: Reputation: 15
Problem with compile


test, says i have a URL?

* ok, i guess I did, but not knowingly... grrrr, stupid buttons up ^^ should have a PRE option!

Last edited by noeffort; 02-29-2004 at 01:48 AM.
 
Old 02-29-2004, 01:47 AM   #2
noeffort
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Original Poster
Rep: Reputation: 15
ok, second try....

[root@linux1 Fl_Envelope]# make
c++ -Isrc -Iimages -O2 -Wall -Wno-return-type -g -O2 -c example.cxx -o example.o
example.cxx: In function `int main()':
example.cxx:75: `cos' undeclared (first use this function)
example.cxx:75: (Each undeclared identifier is reported only once for each
function it appears in.)
example.cxx:75: `sin' undeclared (first use this function)
make: *** [example.o] Error 1
[root@linux1 Fl_Envelope]#

Here's the deal. I've got a loosely based Redhat 9 (2.4.20-28.9) with apt-get sources** to CCRMA (stanford.edu's extensions for gui/multimedia dev)

I <em>have</em> /usr/include/math.h , ie, the standard math library include for gcc (oh yeah, gcc= gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

so i know the line #include <math.h> should be valid in the Fl_Envolope -> example.cxx build! but it says it cannot find cos or sin?

Damn... I mean how the heck can I type this is cos and sin aint there, k'no whaddeye me'an??? LOL! Well, this is frustrating but fun at the same time.

If anyone can help, I would MUCH appreciate it. Thanks, noe.


**see aptsources below:
[root@linux1 Fl_Envelope]# apt-get update
Get:1 http://www-ccrma.stanford.edu redhat/9/en/i386 release [1779B]
Get:2 http://www-ccrma.stanford.edu redhat/all/en/i386 release [510B]
Get:3 http://ayo.freshrpms.net redhat/9/i386 release [1170B]
Fetched 3459B in 0s (5808B/s)
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/os pkglist
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/os release
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/updates pkglist
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/updates release
Hit http://www-ccrma.stanford.edu redhat/all/en/i386/planetccrma pkglist
Hit http://www-ccrma.stanford.edu redhat/all/en/i386/planetccrma release
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetcore pkglist
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetcore release
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetccrma pkglist
Hit http://www-ccrma.stanford.edu redhat/9/en/i386/planetccrma release
Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/os release
Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/updates release
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms release
Reading Package Lists... Done
Building Dependency Tree... Done
 
Old 02-29-2004, 01:02 PM   #3
noeffort
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Original Poster
Rep: Reputation: 15
not sure what board unwritten rules on self bumps are, but this will be my first and last if its frowned on

=)
 
  


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
Compile problem wmoti Programming 5 11-08-2005 07:23 AM
Problem to compile os2 Programming 4 05-03-2005 01:36 PM
Problem getting anything to compile Frank_Drebin Slackware 4 01-13-2005 08:12 AM
C++ compile problem -- HELP !! aherrys Linux - Software 2 01-06-2005 03:29 AM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM


All times are GMT -5. The time now is 04:43 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