Compiling Issues (Linux)

Report bugs, bug fixes and workarounds here.
Topic author
kingping
Posts: 2
Joined: 03.05.2002
With us: 22 years 6 months

Compiling Issues (Linux)

Post #1by kingping » 03.05.2002, 18:54

Hi, I'm trying to compile Celestia with GCC 2.95.3 (kernel 2.4.16). I've managed to get to what would appear to be the last line of compiling (linking everything into "celestia"). However, at this point GCC appears to lose it and refuses to acknowledge the presence of any external functions, including built in functions such as "new" and "delete".

Heres what running "make" spits to stdout:
http://www.hellkrisp.com/good

And heres what it spits to stderr:
http://www.hellkrisp.com/bad

I've tried linking with -lc and -lstdc++, compiling with GCC 3.0.4, removing optimisations, statically linking, but all to no avail.

I'd be glad to hear if anyone else is having this problem, and if anyone has any idea how to fix it.

Thanks.

fjsummers
Posts: 5
Joined: 08.05.2002
With us: 22 years 6 months
Location: Baltimore, MD

Re: linux

Post #2by fjsummers » 08.05.2002, 00:34

I have successfully compiled 1.2.2 and 1.2.4 under Red Hat linux 7.2. Red Hat uses
its own modified gcc 2.96, so I can't be of help for 2.95.3. My kernel is 2.4.9-31.

Looking at your output, the "undefined reference" stuff would naively indicate
some missing libraries. Most of those things mentioned seem to be I/O related.
Perhaps an I/O library or header file is missing.

Topic author
kingping
Posts: 2
Joined: 03.05.2002
With us: 22 years 6 months

Post #3by kingping » 10.05.2002, 14:51

Nah, it seems deeper than that; its not including anything, even the built in libraries that don't need adding (such as the libraries that contain "new" and "delete"). Very odd.


Return to “Bugs”