Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-29-2004, 02:47 AM   #1
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 02:48 AM.
Old 02-29-2004, 02:47 AM   #2
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 ('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 redhat/9/en/i386 release [1779B]
Get:2 redhat/all/en/i386 release [510B]
Get:3 redhat/9/i386 release [1170B]
Fetched 3459B in 0s (5808B/s)
Hit redhat/9/en/i386/os pkglist
Hit redhat/9/en/i386/os release
Hit redhat/9/en/i386/updates pkglist
Hit redhat/9/en/i386/updates release
Hit redhat/all/en/i386/planetccrma pkglist
Hit redhat/all/en/i386/planetccrma release
Hit redhat/9/en/i386/planetcore pkglist
Hit redhat/9/en/i386/planetcore release
Hit redhat/9/en/i386/planetccrma pkglist
Hit redhat/9/en/i386/planetccrma release
Hit redhat/9/i386/os pkglist
Hit redhat/9/i386/os release
Hit redhat/9/i386/updates pkglist
Hit redhat/9/i386/updates release
Hit redhat/9/i386/freshrpms pkglist
Hit redhat/9/i386/freshrpms release
Reading Package Lists... Done
Building Dependency Tree... Done
Old 02-29-2004, 02:02 PM   #3
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



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

All times are GMT -5. The time now is 07:16 AM.

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