Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 1995 06:01:34 -0700
From:      asami@CS.Berkeley.EDU (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=)
To:        Lucas.James@ldjpc.apana.org.au
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   Re: misc/455: ports/x11/iv wont compile
Message-ID:  <199505291301.GAA08152@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199505290130.SAA09362@freefall.cdrom.com> (message from Lucas James on Sun, 28 May 1995 18:30:02 -0700)

next in thread | previous in thread | raw e-mail | index | archive | help
 * this will allow it to compile.  whether it is correct or not.......

Thanks, I tested it, it works exactly like you claim (well our ld
doesn't get a signal :), so I committed it, because it seems to reduce 
the brokenness of the port by a significant margin.

 * There is still a problem in src/bin/ibuild with ld getting a sig11
 * (see separate pr) also in src/bin/idraw getting alot of undefined
 * symbols, I haven't figured it out yet....

I spent the better part of the night trying to figure out the
undefined symbol problem.  It is because the library (libIV.a in
src/lib/IV/FREEBSD) is defining a symbol (for instance) as

  _RasterRect__9ivPainterP8ivCanvasiiP8ivRaster

while the source for idraw is referring to it as

  _ivRasterRect__9ivPainterP8ivCanvasiiP8ivRaster

Note the missing "iv".  There is a definition

  #define _lib_iv(name) iv##name

in src/include/InterViews/iv.h, which is used as

  #define RasterRect _lib_iv(RasterRect)

in Unidraw/_defines.h, and this file is included as

  #include <Unidraw/_defines.h>

in Unidraw/enter-scope.h.

My head is spinning fast enough.  Someone please unentangle this.

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505291301.GAA08152>