🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52564

Re: GCC 2.2.2 & ISC 2.2.1 (HELP!)

#52564
From: Martin Tomes
Date: Mon, 06 Jul 1992 09:47
31 lines
1692 bytes
umrose05@ccu.umanitoba.ca (Dave Rose) writes:

>Hello, 
>	I've been trying to compile gcc 2.2.2 on my ISC 2.2.1 machine for
>quite a few days now. I have it configured like: i386-isc-sysv32

>And here is how my compile goes....Any help or suggestions would be
>appreciated.

..... Loads of stuff deleted .....

>	./gcc    -g -B./  enquire.o -o enquire
>undefined			first referenced
> symbol  			    in file
>putc                                enquire.o
>ld fatal: Symbol referencing errors. No output written to enquire
>*** Error code 1
>`all' not remade because of errors

putc is a macro which is not defined in ANSI C. It is a function in
POSIX and can be found in libcposix.a.  I don't know which solution to
your problem you should choose, gcc2.2.2 compiles fine on version 3.0
of ISC UNIX.  Either you want to be in traditional C to get the macro
or posix mode to get the function.

Hope that helps a bit.
--
Martin Tomes
Janet:    mtomes@uk.co.eurotherm
Internet: mtomes@eurotherm.co.uk
UUCP:     {uknet,uunet}!etherm!mtomes
Technical Details
Message-ID: <mt00.710416072@chough>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!etherm!mt00
References: <1992Jul4.030534.14181@ccu.umanitoba.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2f1a0bbdd924a197
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1048e3,2f1a0bbdd924a197
X-Google-Attributes: gid1048e3,public
X-Google-ArrivalTime: 1992-07-05 23:23:14 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!etherm!mt00
From: mt00@eurotherm.co.uk (Martin Tomes)
Newsgroups: gnu.gcc.help,comp.unix.sysv386
Subject: Re: GCC 2.2.2 & ISC 2.2.1 (HELP!)
Message-ID: <mt00.710416072@chough>
Date: 6 Jul 92 09:47:52 GMT
References: <1992Jul4.030534.14181@ccu.umanitoba.ca>
Sender: news@eurotherm.co.uk (News)
Organization: Eurotherm Limited
Lines: 31