Next Xorg build issue: cannot find xkbdfile

Christian MICHON christian.michon at gmail.com
Wed Oct 5 22:12:52 UTC 2005


couple of hours is usual when getting a first try at X...
Do not give up :)

normally xfree configures and keep all relevant paths inside
".cf" files. I would assume xorg would do the same...

I still can't figure out what you're doing. Are you trying to compile
buildroot and xorg at the same time ? If so, I would suggest you
compile buildroot first, chroot inside it, and compile xorg from
within buildroot.

Alternatively, change -L/usr/X11R6/lib to the proper path containing
newly made x11 libs (find them inside the xorg build dir)...
In your case, -Lbuildroot/build_i686/xc/lib/

I remind you again this should be in the cf file you must have
created before "make world"


On 10/5/05, David Smoot <davidsmoot at gmail.com> wrote:
> I've messed with this a couple of hours and I am once again at the end
> of my skills.  I understand what the problem is but don't know how to
> fix it.
>
> When I build Xorg under buildroot, it fails because it is looking for
> xkbfile in /usr/X11R6/lib when it should be looking in
> buildroot/build_i686/xc/lib/.
>
> I have tried modifying the makefile that is building the target
> xkbcomp but I so far have not been able to figure it out.  Can someone
> spell it out in small words where I should look for the solution?
>
> Thanks,
> David
>
>
> On 10/5/05, David Smoot <davidsmoot at gmail.com> wrote:
> > This is not a buildroot problem but apparently an Xorg problem.  I got
> > much further in the compile process but now xorg is complaining about
> > not finding a file:
> > Quoted error message:
> > cc -I../../../exports/include -o xkbcomp  xkbcomp.o xkbscan.o expr.o
> > vmod.o indicators.o misc.o alias.o             keymap.o keycodes.o
> > keytypes.o compat.o action.o                symbols.o geometry.o
> > xkbpath.o listing.o           xkbparse.o parseutils.o utils.o
> > -L/usr/X11R6/lib -lxkbfile -lX11
> > /usr/bin/ld: cannot find -lxkbfile
> > collect2: ld returned 1 exit status
> >
> > Now the director it wants is there:
> > buildroot/build_i686/xc/lib/xkbfile
> >
> > I could manually go in there and hack in a link so it can find the
> > directory but what is the "right" way to do it?  Or am I
> > misunderstanding the problem?
> > Thanks again,
> > David
> >
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>


--
Christian



More information about the uClibc mailing list