public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Griffin <joe.griffin@mscsoftware.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] undefined reference to `__libc_start_main'
Date: Mon, 06 Nov 2000 19:34:23 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205660@msgid-missing> (raw)

Hello,

I am getting the following message on my IA64 system:

/usr/lib/gcc-lib/ia64-cygnus-linux/2.9-ia64-000216-final/../../../crt1.o:
In function `_start':
/usr/lib/gcc-lib/ia64-cygnus-linux/2.9-ia64-000216-final/../../../crt1.o(.text+0x62):
undefined reference to `__libc_start_main'

If I compile a simple program, the error is not there.
However, if I link with a -L, -l, the error appears:


stpeter <60> cat simple.f
      PROGRAM MAINAL
      write(6,*) ' Hello world'
      end

stpeter <61>  /usr/bin/sgif90 -o simple simple.f

stpeter <62> simple
  Hello world

stpeter <63>  /usr/bin/sgif90 -o simple simple.f
-L/home/jjg/nast2001t2/obj -lnast
/usr/lib/gcc-lib/ia64-cygnus-linux/2.9-ia64-000216-final/../../../crt1.o:
In function `_start':
/usr/lib/gcc-lib/ia64-cygnus-linux/2.9-ia64-000216-final/../../../crt1.o(.text+0x62):
undefined reference to `__libc_start_main'
collect2: ld returned 1 exit status

Does anyone know how I can get around this error?

My system is:
stpeter <64> sgif90 -v
SGIcc Compilers: Version 0.01.0-10
stpeter <65> uname -a
Linux stpeter 2.4.0test8-000913-44smp #1 SMP Tue Oct 3 23:29:59 PDT 2000
ia64 unknown


I am not a subscriber (yet) to this group, so please
send comments to me directly.

Thanks,
Joe Griffin


                 reply	other threads:[~2000-11-06 19:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205660@msgid-missing \
    --to=joe.griffin@mscsoftware.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox