Article View: gnu.g++.help
Article #5Building libg++ 2.2 under Ultrix v4.2a on DECstation 5000
From: Dan Ehrlich
Date: Wed, 28 Oct 1992 14:56
Date: Wed, 28 Oct 1992 14:56
66 lines
3513 bytes
3513 bytes
I am trying (unsuccessfully so far) to build libg++ 2.2 on a DECstation
5000/240 that is running Ultrix V4.2A. Has anyone else been able to get
this to build on a DECstation? If so please get in touch with me. Any
help would be appreciated.
The directory was configed with:
./configure -exec_prefix=/package/libg++ -prefix=/package/libg++ decstation
But the make fails:
smith# cat _make
echo "# !Automatically generated from ./functions.def" "- DO NOT EDIT!" >neede
d2.awk
grep '^DEFVAR(' < ./functions.def | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/
{ printf \"#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' >>needed2.awk
grep '^DEFFUNC(' < ./functions.def | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\
1/ { printf \"#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' >>needed2.awk
cc -Wf,-XNg1000 -c -g -I. -I./../include ./dummy.c
(cc -Wf,-XNg1000 dummy.o ) >errors 2>&1 || true
rm -f a.out dummy.o
echo "/* !Automatically generated from ./functions.def" "- DO NOT EDIT! */" >c
onfig.h
awk -f needed2.awk <errors >>config.h
cc -Wf,-XNg1000 -c -g -I. -I./../include basename.c
cc -Wf,-XNg1000 -c -g -I. -I./../include getopt.c
cc -Wf,-XNg1000 -c -g -I. -I./../include getopt1.c
cc -Wf,-XNg1000 -c -g -I. -I./../include obstack.c
cc -Wf,-XNg1000 -c -g -I. -I./../include spaces.c
cc -Wf,-XNg1000 -c -g -I. -I./../include concat.c
cc -Wf,-XNg1000 -c -g -I. -I./../include fdmatch.c
cc -Wf,-XNg1000 -c -g -I. -I./../include argv.c
cc -Wf,-XNg1000 -c -g -I. -I./../include strerror.c
cc -Wf,-XNg1000 -c -g -I. -I./../include strsignal.c
echo "# !Automatically generated from ./functions.def" "- DO NOT EDIT!" >neede
d.awk
grep '^DEF(' < ./functions.def | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { prin
tf \"\1\.o " }|' >>needed.awk
awk -f needed.awk <errors >needed-list
echo >>needed-list
cc -Wf,-XNg1000 -c -g -I. -I./../include strdup.c
rm -rf libiberty.a
ar qc libiberty.a basename.o getopt.o getopt1.o obstack.o spaces.o concat.o
fdmatch.o argv.o strerror.o strsignal.o strdup.o
ranlib libiberty.a
rootme=`pwd` ; export rootme; CC="cc -Wf,-XNg1000 `if [ -f ${rootme}/../gcc/gcc
] ; then echo -I${rootme}/../gcc/include ; else echo ; fi`"; export CC; ./uti
ls/gen-params >tmp-params.h
ldopen: cannot open dummy.o
nm: Error: cannot open dummy.o
ldopen: cannot open dummy.o
nm: Error: cannot open dummy.o
nm failed to find FUNC in dummy.o!
sh: -1: bad number
*** Error code 1
Stop.
*** Error code 1
Stop.
--
Dan Ehrlich - Sr. Systems Programmer - Penn State Computer Science
"Universities should be safe havens where ruthless examination of
realities will not be distorted by the aim to please or inhibited
by the risk of displeasure." - Kingman Brewster
Technical Details
Message-ID:
<Bwu6uB.36D@cs.psu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!sgiblab!sgigate!rutgers!psuvax1!ehrlichShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!sgiblab!sgigate!rutgers!psuvax1!ehrlich From: ehrlich@cs.psu.edu (Dan Ehrlich) Newsgroups: gnu.g++.help Subject: Building libg++ 2.2 under Ultrix v4.2a on DECstation 5000 Message-ID: <Bwu6uB.36D@cs.psu.edu> Date: 28 Oct 92 14:56:32 GMT Sender: news@cs.psu.edu (Usenet) Followup-To: poster Organization: Computer Science Department, Penn State University Lines: 66 Nntp-Posting-Host: daneel.cs.psu.edu