🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51600

GCC 2.3.3 and SCO ODT 2.0

#51600
From: John A. Perry
Date: Fri, 07 May 1993 17:40
61 lines
2805 bytes
	I'm trying to install gcc-2.3.3 under SCO ODT 2.0 on a 486/33.
The command line I'm using to execute "configure" is:

./configure --target=i386-*-sco

The first compile (make LANGUAGES="c") goes as expected from start to
finish. After I execute the "stage1" command, I proceed to the next
phase of the compile:

make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O".

	At this point, I'm running into trouble. The second "make"
isn't working as expected. Here is an audit trail of what is
happening:

# make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O"
        stage1/xgcc -Bstage1/  -DIN_GCC   -g -O     -I. -I. -I./config
\
          -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-*-sco/`sed
-e 's/.*\"\
([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
          -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
          -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
          -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-*-sco/`sed
-e 's/.*\
"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
          -DTOOLDIR=\"/usr/local/i386-*-sco/\" \
          -c `echo ./cccp.c | sed 's,^\./,,'`
        stage1/xgcc -Bstage1/  -DIN_GCC   -g -O     -I. -I. -I./config
-c ./cexp
.c
        stage1/xgcc -Bstage1/ -c  -DIN_GCC   -g -O     -I. -I.
-I./config versio
n.c
        stage1/xgcc -Bstage1/ -c  -DIN_GCC   -g -O     -I. -I.
-I./config obstac
k.c
        stage1/xgcc -Bstage1/  -DIN_GCC   -g -O   -o cccp cccp.o
cexp.o version.
o obstack.o ` case "stage1/xgcc -Bstage1/" in "rcc -Dunix -Di386
-DM_UNIX -DM_I3
86 -DNULL=0") echo  ;; esac `  -lPW
undefined                       first referenced
 symbol                             in file
fileno                              cccp.o
ld fatal: Symbol referencing errors. No output written to cccp
*** Error code 1

Stop.

	What is wrong? I thought the compile for SCO was fairly
standard. I would really like to get this to work! As you can tell,
I'm no guru at programming. I apologize if this is a stupid problem
and is easily fixed. Any help would be greatly appreciated.


-- 
 John A. Perry (KG5RG)  -  perry@jpunix.com
                           jpunix!perry
 MIME & PGP supported at this site!
 PGP Key available on request by sending e-mail to any of the following:
Technical Details
Message-ID: <C6o3s9.3vH@jpunix.com>
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!jpunix!perry

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a81fc747196ca736,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-07 12:22:23 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!jpunix!perry
From: perry@jpunix.com (John A. Perry)
Subject: GCC 2.3.3 and SCO ODT 2.0
Organization: J. P. and Associates, Dickinson TX.
Date: Fri, 7 May 1993 17:40:56 GMT
Message-ID: <C6o3s9.3vH@jpunix.com>
Lines: 61