Unable to compile X386 shared libraries with gcc 1.39 and stock as.

Shaun T. Erickson ste at cbnewsm.cb.att.com
Sat May 11 05:57:04 AEST 1991


I have been unable to compile Thomas Roell's X386 server with shared libraries.
I AM able to compile and run (quite nicely!) if I use static libraries.
I understand that there is a problem compiling it with gcc 1.39 and gas
1.35(?), but I am not using that combination. I am using gcc 1.39 and the stock
as that comes with my system. Can someone help me figure this out?

AT&T UNIX SysV/386 R3.2 V2.1 (CSDS 4.1.6)
Roell's X386 - 1.1b (beta)

The only changes I made to at386.cf were to set:

	HasSVR3SharedLibraries = YES	(Since I'm running SVR3)
	HasSVR4SharedLibraries = NO	(Since I'm not running SVR4)
	HasSockets             = NO	(Since I don't have TCP/IP)
	HasGcc                 = YES	(Since I'm using gcc 1.39)

	removed -DXDMCP from ExtensionDefines	(Since I don't have TCP/IP)

The BOOTSTRAPCFLAGS I used were: -DSYSV -DUSG -DATT -DSYSV386

The errors I got were:

        mkshlib -s spec -t libX11.4.1 -h libX11_s.a -q
Warning: common symbol, XrmQString, found in target
mkshlib: fatal error: There are no provisions for common symbols: provide
initializations for all data items.
*** Error code 1

        mkshlib -s spec -t libXt.4.1 -h libXt_s.a -q
XCreateGC still undefined in target after search of other shared libraries
mkshlib: fatal error: Undefined symbols - cannot complete build of target
*** Error code 1

        mkshlib -s spec -t libXmu.4.1 -h libXmu_s.a -q
XDrawLine still undefined in target after search of other shared libraries
mkshlib: fatal error: Undefined symbols - cannot complete build of target
*** Error code 1

        mkshlib -s spec -t libXaw.4.1 -h libXaw_s.a -q
XDrawLine still undefined in target after search of other shared libraries
mkshlib: fatal error: Undefined symbols - cannot complete build of target
*** Error code 1

        mkshlib -s spec -t libXext.4.1 -h libXext_s.a -q
_XGetBitsPerPixel still undefined in target after search of other shared
libraries
mkshlib: fatal error: Undefined symbols - cannot complete build of target
*** Error code 1
-- 
 ******************************************************************************
 * Shaun T. Erickson                              Internet: ste at alux2.att.com *
 * Cap Gemini America  (Resident Visitor at AT&T)     UUCP: ...!att!alux2!ste *
 ******************************************************************************



More information about the Comp.unix.sysv386 mailing list