🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Melvin Smith Wed, 10 Jan 1996 00:00
Missing global pointers on gcc/++ 2.7.2 mips ULTRIX
#6209
Author: Melvin Smith
Date: Wed, 10 Jan 1996 00:00
52 lines
3105 bytes
I have successfully compiled 2.6.3 on a DEC ULTRIX before
but it was a while ago. I tried building 2.7.2 on
an ULTRIX 4.3 (mips) and got scads of missing gp's warnings.

There were some during the compile but I did not take much notice
since it compiled successfully it seemed. Then after
compiling my software (C++) I got over 2000 lines of the
following and a failed link.


csh> make
rm -f mud++ 
g++ -o mud++ area.o char.o char_act.o char_combat.o const.o dllist.o editarea.o editnpc.o editobj.o editroom.o file.o help.o index.o indexable.o io.o magic.o main.o nameable.o nanny.o npc.o object.o parse.o pc.o pc_act.o pc_combat.o pc_info.o pc_olc.o pc_wiz.o pulse.o random.o repop.o room.o server.o shop.o string.o thing.o utils.o -O -g -nostdlib -lm -lgcc -lc
collect2: ld returned 1 exit status
/usr/lib/cmplrs/cc/ld:
Undefined:
mmap(char *, unsigned int, int, int, int, int)
munmap(char *, unsigned int)
getrlimit(int, rlimit *)
setrlimit(int, rlimit *)
area.o: R_GPREL relocation entry with no global pointer reference

*SNIP*
editroom.o: R_GPREL relocation entry with no global pointer reference

*SNIP*
object.o: R_GPREL relocation entry with no global pointer reference

/lib/libc.a(gethostent.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(rcmd.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(malloc.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(doprnt.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(data.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(data.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(yp_match.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(yp_match.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(yp_enum.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(yp_enum.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(yp_enum.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(getpwent.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(clnt_udp.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(clnt_perror.o): R_GPREL relocation entry with no global pointer reference
/lib/libc.a(rpcdtablesize.o): R_GPREL relocation entry with no global pointer reference
*** Error code 1

Stop.

Any clues?
Should I try going back to an earlier version or is this an ULTRIX bug?

-Melvin Smith (wonders wy gcc never compiles on anything but Linux)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads