*BSD News Article 5650


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!uunet!decwrl!csus.edu!netcom.com!hasty
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: [386bsd] Help me link X386
Message-ID: <+s!p1p-.hasty@netcom.com>
Date: Sat, 26 Sep 92 16:57:35 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
References: <47919@shamash.cdc.com>
Lines: 87

In article <47919@shamash.cdc.com> pbd@runyon.cim.cdc.com (Paul Dokas) writes:
>I've built X11R5 and it's ready for installation, but when I did a
>"make install >& install.log" it worked for some time and then
>tried to link X386.  I simply quit with an "*** Error code 1".
>
>Here's the end of my install.log:
>---------------------------------------------------------------------
>.
>installing in ./server...
>making all in ./server/dix...
>making all in ./server/os...
>.
>[ lots of stuff deleted ]
>.
>making all in ./extensions/server/PEX/ddpex/mi/shared...
>making all in ./extensions/server/PEX/ospex...
>gcc -O -fstrength-reduce  -g  -o X386
>     ddx/x386/x386Init.o
>     ddx/x386/libx386.a ddx/x386/vga/libvga.a
>     ddx/x386/drivers/libdrivers.a
>     ddx/x386/cfb.banked/libcfb.a
>     ddx/x386/enhanced/libenhanced.a
>     dix/libdix.a
>     os/libos.a
>     .././lib/Xau/libXau.a
>     .././lib/Xdmcp/libXdmcp.a
>     .././fonts/lib/font/libfont.a
>     ddx/mfb/libmfb.a
>     ddx/mi/libmi.a
>     .././extensions/server/libext.a
>     .././extensions/server/PEX/dipex/dispatch/libdidipex.a
>     .././extensions/server/PEX/dipex/swap/libdiswapex.a
>     .././extensions/server/PEX/dipex/objects/libdiobpex.a
>     .././extensions/server/PEX/dipex/dispatch/libdidipex.a
>     .././extensions/server/PEX/ddpex/mi/level4/libddpex4.a
>     .././extensions/server/PEX/ddpex/mi/level3/libddpex3.a
>     .././extensions/server/PEX/ddpex/mi/shared/libddpexs.a
>     .././extensions/server/PEX/ddpex/mi/level2/libddpex2.a
>     .././extensions/server/PEX/ddpex/mi/level1/libddpex1.a
>     .././extensions/server/PEX/ospex/libospex.a
>     -lm
>*** Error code 1
>
>Stop.

You probably did not renamed the svga drivers in
../mit/server/ddx/x386/drivers/...
for the et4000: driver4.c bank4.s
for the et3000: driver3.c bank3.s
for the pvga1: driverp.c bankp.s
for the gvga:  driverg.c bankg.s

Ensure that the make files for the above files do reflect
accessing the correct name. In our release, the make files
have been changed to reflect the above convention.

If you still have problems, please e-mail back to me..
And, I will sent you the patches for "ld" to print out
what it is complaining about and I will also post them.

Your local Xfree86 developer,
Amancio


>---------------------------------------------------------------------
>
>NOTE:  I cleaned up the gcc line for readability.  Everything from "gcc"
>through "-lm" was originally on one line!
>
>The confusing thing is that there is no error/warning message.
>
>It looks like the link is running out of VM, but I find this
>hard to believe since I've got 8MB installed and 2 swap partitions
>of 22MB and 20MB.
>
>Does anyone have a port of pstat or vmstat that I can have/borrow/etc?
>I pulled over the source from ftp.uu.net and I've modified most of names.c
>But I can't get it working because I can't find a "_mbdinit" type of symbol
>in the kernel...  (any guru's willing to send me a patch or source?)
>
>-- 
>#include <std.disclaimer>
>#define FULL_NAME                          "Paul Dokas"
>#define EMAIL                              "pbd@runyon.cim.cdc.com"
>/* we are realizing infinite possibilities in exchange for our soul */