From: klaus@axp4.physik.fu-berlin.de (Wolfram Klaus)
Subject: Re: GNU GCC 2.8.1 and DEC ld 3.11
Date: 1999/08/03 [thread overview]
Message-ID: <klaus.933672647@axp4.physik.fu-berlin.de> (raw)
In-Reply-To: 7o65u2$586$1@jaydee.iway.fr
"Ga�l Trinquart" <gtrinquart@elan.fr> writes:
>I have rebuilt GCC 2.8.1 binaries on DEC/OSF1 v2.0 and the compiler works
>well (it actually produce object file). Unfortunatly, it does not interface
>correctly with the DEC standart linker 'ld' (undefined references). Here is
>what I've done... Anybody has hints ?
>$ cat helloworld.c
>#include <stdio.h>
>int main ( int argc , char* argv [] )
>{
> fprint ( stdout , "Hello World" ) ;
> return (0 ) ;
>}
>$ echo " ";date;uname -a;pwd;echo " ";ls -la;echo " "
>Mon Aug 2 11:51:22 GMT+0100 1999
>OSF1 decalpha.elan.fr V2.0 240 alpha
>/mnt/sun250/home1/perso/gael/tmp
>total 3
>drwxrwxrwx 2 gael st 512 Aug 2 10:49 .
>drwxr-xr-x 8 gael st 512 Jul 22 17:51 ..
>-rw-rw-r-- 1 gael st 113 Jul 29 15:40 helloworld.c
>$ gcc helloworld.c
>collect2: ld returned 1 exit status
>/usr/bin/ld:
>Unresolved:
>fprint
Sure, there's no such function. Try fprintf() or printf() without the
stdout argument. All in all it's just a typo.
Bye,
Wolfram
--
"""
(o o)
+---------------------------------oOO--(_)--OOo-------------------------------+
| Wolfram Klaus (klaus@physik.fu-berlin.de) FU Berlin, FB Physik |
next prev parent reply other threads:[~1999-08-03 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-03 4:00 GNU GCC 2.8.1 and DEC ld 3.11 Ga�l Trinquart
1999-08-03 4:00 ` Wolfram Klaus [this message]
1999-08-04 4:00 ` Petr Jiricek
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox