Re: Problem when compiling Xprt of X11R7.1
Re: Problem when compiling Xprt of X11R7.1
- Subject: Re: Problem when compiling Xprt of X11R7.1
- From: Ben Byer <email@hidden>
- Date: Tue, 24 Oct 2006 13:27:01 -0700
On Oct 22, 2006, at 6:39 AM, Peter Dyballa wrote:
Am 22.10.2006 um 09:16 schrieb Ben Byer:
The problem here is in the ordering of the dynamic libraries. If
you move them ('-lX11 -lXfont -lm -lfontenc -lfreetype -lz -lXdmcp
-lXau') to the end of that line, after libXext.la, it will compile
correctly.
How do you find this? Which tools might tell to do so? Or is it
just experience?
(I am trying to compile xorg-server-1.1.99.3 of X11R7.1, that's
what 'git status' tells me. And this seems to be a bit
'experimental:' minor changes in environment variables change
success of making the lib targets!)
I wish I had a clever or insightful answer for you here -- you will
have to settle for "trial and error". :)
I had already built the Xorg Xserver successfully, so I went and
looked at my build-log and found the command that worked for me, but
failed for you.
Then, I tried to rebuild the Xserver with no patches (presumably,
like you were) -- and I saw the same errors you did.
Next, I cut and pasted the command from my build-log to the failing
build -- that worked. So I knew that there was some difference
between those two commands that was causing those error messages.
I then slowly modified my "good" build command to more closely
resemble the one you had that was failing. Eventually, the only
difference was in the order of the parameters -- I saw that the
errors mentioned libXfont, so I tried putting it (and the other
shared libraries) at the end of the command line.
Not too much fun, but now we have both learned a lesson: -l flags
always go last!
(I think this is how one gets "experience"...)
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden