Operating Systems > Linux and UNIX

gcc problemo

(1/2) > >>

Master of Reality:
whenever i try to install a program from source when running configure it says:

--- Code: ---
--- End code ---
should i try to upgrade gcc or something?? This is on slackware8.1 with gcc version 2.95.3

voidmain:
You shouldn't have to upgrade GCC but it would indicate that you don't have it entirely installed. Must be some library packages missing. The configure script just creates a very small C program of a few lines and tries to compile it. If it can not then it gives that error message. Can you create your own little test program and try and compile it and see what errors gcc is really giving? Try putting this in a file called "tst.c":


--- Code: ---
--- End code ---

Then compile it with "gcc tst.c" and see if it gives you an error. Also look at your "configure.log" to see what error messages it may have produced.

[ December 06, 2002: Message edited by: void main ]

Master of Reality:

--- Code: ---
--- End code ---
and config.log has that line^ and right underneath it says:
--- Code: ---
--- End code ---

voidmain:
On my RedHat system that crt1.o is part of the "glibc-devel" RPM. That is the C development library. Did you install the Slackware equivalent to that on your system?  I haven't used Slackware in quite some time but I would suspect that if you installed all of the GCC packages from here:

ftp://ftp.slackware.com/pub/slackware/slackware-8.1/slackware/d

You would also need this:

ftp://ftp.slackware.com/pub/slackware/slackware-8.1/slackware/l/glibc-2.2.5-i386-2.tgz

Don't know if that one contains the missing pieces but it's the one I would expect it would be in.

[edit]
Yep, I just checked the MANIFEST.gz file and that should be the correct package (glibc mentioned above).
[/edit]

[ December 05, 2002: Message edited by: void main ]

Master of Reality:
thanks
that worked. Now i can compile some more security programs and and ease my paranoia (those integrational polytheist are always plotting to destroy the bob hub)

[ December 06, 2002: Message edited by: The Master of Reality / B0B ]

Navigation

[0] Message Index

[#] Next page

Go to full version