Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA16165; Thu, 7 Mar 96 00:17:13 EST
Received: from W20-575-93.MIT.EDU by MIT.EDU with SMTP
	id AA29165; Thu, 7 Mar 96 00:16:34 EST
Received: by w20-575-93.MIT.EDU (5.0/4.7) id AA07191; Thu, 7 Mar 1996 00:17:13 -0500
Message-Id: <9603070517.AA07191@w20-575-93.MIT.EDU>
To: proven@MIT.EDU
Subject: _iob error on the sun4 build of pthreads
Date: Thu, 07 Mar 1996 00:17:12 EST
From: Steve Niemczyk <sniemczy@MIT.EDU>
Content-Length: 1449


Hi.  I was succesful now in building libg++ .... yet I still get the
same error during the link stage of the make....

pg++  -o StreamObjects.sun4 Main.o StreamObjects.o ThreadObjects.o Utilities.o Test.o MPEGObjects.o -L~/libg++ -lg++ -liberty -lstdc++ 
ld: warning: symbol `_iob' has differing sizes:
        (file /afs/sipb/project/pthreads/stable/arch/@sys/lib/libpthread.a(findfp.o) value=0x4; file /usr/lib/libc.so value=0x140);
        /afs/sipb/project/pthreads/stable/arch/@sys/lib/libpthread.a(findfp.o) definition taken
ld: warning: symbol `__iob' has differing sizes:
        (file /afs/sipb/project/pthreads/stable/arch/@sys/lib/libpthread.a(findfp.o) value=0x4; file /usr/lib/libc.so value=0x140);
        /afs/sipb/project/pthreads/stable/arch/@sys/lib/libpthread.a(findfp.o) definition taken

Again, this error does not occur under linux, so the error sounds specific
to the Sun4 platform.

Any ideas?  My Makefile is included below:

--------------------
Makefile
--------------------
CC = pg++
LIBS = -L~/libg++ -lg++ -liberty -lstdc++ #

OBJS = Main.o StreamObjects.o ThreadObjects.o Utilities.o Test.o MPEGObjects.o

PROG = StreamObjects.$(shell /bin/athena/machtype)
$(PROG): $(OBJS)
        $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS)
#
$(OBJS): %.o: %.cxx
        $(CC) $(CFLAGS) -c $<
#
clean:
        /bin/rm -f $(OBJS) $(PROG) core *~
#
dep:
        makedepend *.cxx
# DO NOT DELETE THIS LINE -- make depend depends on it.
