*BSD News Article 21107


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:5148 comp.windows.x.i386unix:3558
Newsgroups: comp.os.386bsd.questions,comp.windows.x.i386unix
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!ames!cnn.nas.nasa.gov!wilbur.nas.nasa.gov!tweten
From: tweten@wilbur.nas.nasa.gov (Dave Tweten)
Subject: Can't Link XFree86 1.3u1
Message-ID: <CDEsAt.tr@nas.nasa.gov>
Sender: news@nas.nasa.gov (News Administrator)
Nntp-Posting-Host: wilbur.nas.nasa.gov
Organization: NAS Systems Division, NASA Ames
Date: Wed, 15 Sep 1993 18:49:41 GMT
Lines: 38


I run 386bsd, patch 0.2.4, with an ATI VLB Mach32 graphics card, and
have experienced a problem (I call it pinstriped suit mode) when I exit
X.  A patch to the ATI driver has become available on the net, and it
is supposed to fix that problem.  I downloaded the latest X binary
distribution (1.3u1) from gatekeeper.dec.com because it supposedly
fixes a line-drawing problem which can crash X under 386bsd.  I can't
make the X link kit work.

When I apply the patch to the ATI driver, run mkmf and do a make, all
works well until the final link step, when I get a complaint that
"___main" (yes, that's 3 underbars), referenced in the text partition
of main.o, is not defined anywhere.  The notes with XFree86 say it was
compiled under FreeBSD, but should work with other varients.

The questions are:

    1.	Does FreeBSD use GCC 2, and since 386bsd, patch 0.2.4, uses GCC
	1, is that my problem?

    2.	Is there a binary distribution of XFree86 1.3u1 compiled under
	386bsd and GCC 1?  If so, where?

    3.	Better yet, is there a binary XFree86 1.3u1 distribution which
	already includes the ATI driver fix?  Where?

    4.	Assuming my luck has run out, how reproducible from source is
	XFree86 1.3u1 under GCC 1?  Any tips?

    5.	Have I missed the point entirely and my linking problem is
	caused by something else?

Thanks.
-- 
---------------------------------------------------------------------------
Dave Tweten						tweten@nas.nasa.gov
NASA Ames Research Center, M/S 258-5			     (415) 604-4416
Moffett Field, CA  94035-1000				FAX: (415) 604-4377