Author Topic: gcc problemo  (Read 515 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
gcc problemo
« on: 6 December 2002, 03:19 »
whenever i try to install a program from source when running configure it says:
Code: [Select]
should i try to upgrade gcc or something?? This is on slackware8.1 with gcc version 2.95.3
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
gcc problemo
« Reply #1 on: 6 December 2002, 04:48 »
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: [Select]

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 ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
gcc problemo
« Reply #2 on: 6 December 2002, 05:32 »
Code: [Select]
and config.log has that line^ and right underneath it says:
Code: [Select]
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
gcc problemo
« Reply #3 on: 6 December 2002, 05:54 »
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 ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
gcc problemo
« Reply #4 on: 6 December 2002, 10:29 »
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 ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
gcc problemo
« Reply #5 on: 6 December 2002, 13:01 »
that was a bit of a poor comment at the end of a thread that i was reading with interest, as i had the same problem with basiclinux 1.7 and i think gcc 2.95 also.

MoR why are you so hostile to other religions? are you feling insecure? i certainly don't ever criticise your 'religion' publicly.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
gcc problemo
« Reply #6 on: 6 December 2002, 21:55 »
lighten the fuck up.
You shall find the truth when the revolution comes when i upgrade my server.

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

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
gcc problemo
« Reply #7 on: 6 December 2002, 22:20 »
ho hum.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism