*BSD News Article 21021


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:5149 comp.windows.x.i386unix:3561
Newsgroups: comp.os.386bsd.questions,comp.windows.x.i386unix
Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!news
From: dawes@physics.su.OZ.AU (David Dawes)
Subject: Re: Can't Link XFree86 1.3u1
Message-ID: <1993Sep18.035032.13983@ucc.su.OZ.AU>
Sender: news@ucc.su.OZ.AU
Nntp-Posting-Host: physics.su.oz.au
Organization: School of Physics, University of Sydney, Australia
References: <CDEsAt.tr@nas.nasa.gov>
Date: Sat, 18 Sep 1993 03:50:32 GMT
Lines: 31

In article <CDEsAt.tr@nas.nasa.gov> tweten@wilbur.nas.nasa.gov (Dave Tweten) writes:
>
>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?

Yes, you need to get a copy of the GCC 2 libgcc.a, and link it in.  There
is a site.def option you can uncomment to do this.


David
--
------------------------------------------------------------------------------
 David Dawes <dawes@physics.su.oz.au>    DoD#210      | Phone: +61 2 692 2639
 School of Physics, University of Sydney, Australia   | Fax:   +61 2 660 2903
------------------------------------------------------------------------------