🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.interviews
3 messages
3 total messages Started by Peter W Osel Sat, 21 Aug 1993 09:03
HELP NEEDED: Compiling interviews 3.1 with gcc 2.4.5
#1676
Author: Peter W Osel
Date: Sat, 21 Aug 1993 09:03
19 lines
1300 bytes
Tried to build IV-3.1 on Sun SS-10/30, SunOS 4.1.3, using gcc 2.4.5,
libg++-2.4, and *dynamic libraries*.

Could successfully build and run:
	alert   dclock  iclass  ifc     logo    remind  
	cpu     ibmkmf  idemo   ivmkmf  mailbox 

However couldn't link doc, ibuild, and idraw:

	ld: Undefined symbol
	   __vt$7istream$3ios
	collect: ld returned 2 exit status

Beats me.  Some g++ problems?  Anyone soved this one already?
(The error does occur whether I apply Mike Stump's patch found in
pub/contrib/g++/iv-3.1-g++-3.1.tar.Z@interviews.stanford.edu or not)

	--pwo
Re: HELP NEEDED: Compiling interviews 3.1 with gcc 2.4.5
#1677
Author: Dan Rosenblatt
Date: Sat, 21 Aug 1993 18:29
3 lines
966 bytes
I had the same problem at one time.
Switching from -O4 to -O fixed it
(in both libg++ and interviews).
Re: HELP NEEDED: Compiling interviews 3.1 with gcc 2.4.5
#1678
Author: Douglas Scott
Date: Sun, 22 Aug 1993 23:24
30 lines
1931 bytes
In article <CC4Gp7.1M0@da_vinci.it.uswc.uswest.com> dxrosen@newsit.mtt.it.uswc.uswest.com (Dan Rosenblatt) writes:
>
>I had the same problem at one time.
>Switching from -O4 to -O fixed it
>(in both libg++ and interviews).

(This regards the following linker error:

		ld: Undefined symbol
		   __vt$7istream$3ios
)

I reported this error some time ago to both the IV people and the gnu people,
but never got any response.  The problem (in brief) stems from an ambiguous
virtual class declaration in one of the iostream headers, and gnu c++
interprets it one way in -O2 or higher mode, and another way in -O or lower.

The original Imakefiles for IV only used -O for everything, and I learned the
hard way that you have to stick with it and not try to use -O2,3, or 4.

(If anyone cares about this, they can contact me for further info on where the
code problem is.)



-- 
Douglas Scott                              (805)893-8352
Center for Computer Music Research and Composition
University of California, Santa Barbara
Internet: (NeXTMail ok)   <doug@foxtrot.ccmrc.ucsb.edu>
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