Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsm!ste From: ste@cbnewsm.cb.att.com (Shaun T. Erickson) Newsgroups: comp.unix.sysv386 Subject: Unable to compile X386 shared libraries with gcc 1.39 and stock as. Summary: Correspondence with Thomas Roell suggests this should work. Keywords: AT&T UNIX SysV/386 R3.2 V2.1 (CSDS 4.1.6) Message-ID: <1991May10.195704.10478@cbnewsm.att.com> Date: 10 May 91 19:57:04 GMT Sender: ste@cbnewsm.att.com (Shaun T. Erickson) Organization: AT&T Bell Labs, Allentown, PA Lines: 53 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@alux2.att.com * * Cap Gemini America (Resident Visitor at AT&T) UUCP: ...!att!alux2!ste * ******************************************************************************