Take a quick look in the archives talking about expat. It was in xbase
for the 4.2 release, is moving to base IIRC, and it looks like you
dont have it installed: " >  /usr/bin/ld: cannot find -lexpat"


On Tue, Apr 1, 2008 at 8:56 AM, Sunnz <[EMAIL PROTECTED]> wrote:
> I am not sure what I did wrong, I simply followed the instruction in
>  006_xorg.patch today
>
>         cd /usr/src/xenocara     # Assuming Xenocara is in /usr/src/xenocara
>         patch -p0 < 006_xorg.patch
>         make build
>
>  Thought I did not have xenocara till today, I just grabbed from my
>  local mirror when I need to apply the patch and recompile it.
>
>  The patch itself was applied fine, it is just not compiled... make build 
> failed.
>
>  This is where the error begins:
>
>  cc  -L/usr/src/xenocara/lib/expat/xmlwf/../obj  -o xmlwf xmlwf.o
>  xmlfile.o codepage.o unixfilemap.o -lexpat
>  /usr/bin/ld: cannot find -lexpat
>  collect2: ld returned 1 exit status
>  *** Error code 1
>
>  Stop in /usr/src/xenocara/lib/expat/xmlwf (line 95 of
>  /usr/share/mk/bsd.prog.mk).
>  *** Error code 1
>
>  Stop in /usr/src/xenocara/lib/expat.
>  *** Error code 1
>
>  Stop in /usr/src/xenocara/lib/expat (line 133 of
>  /usr/X11R6/share/mk/bsd.xorg.mk).
>  *** Error code 1
>
>  Stop in /usr/src/xenocara/lib.
>  *** Error code 1
>
>  Stop in /usr/src/xenocara.
>  # ld
>  ld: no input files
>
>  I am running OpenBSD 4.2 AMD64 release.
>
>  I haven't used OpenBSD for that long... this is the first time I tried
>  to learn about applying errata patches (for the sake of learning) and
>  I might have made come common mistakes. And this might sound stupid...
>  X was running when I was recompiling Xenocara, could that be the
>  cause? I don't know I haven't thought of that till now... I will
>  probably try that as soon as my next reboot. (got a few things running
>  at the moment.)
>
>  Thanks.
>
>  --
>
>  This e-mail may be confidential. You may not copy, forward,
>  distribute, or, use any part of it. If you have received this message
>  in error, please delete it from your system and notify the sender
>  immediately by return e-mail. The sender does not accept liability for
>  any errors, or, omissions. Note, this text has no effective legal
>  binding on your part. There is no obligation to abide any or all parts
>  of this, just as any texts appended to e-mail messages on rest of the
>  Internet. For more information about disclaimers, please see:
>  http://www.goldmark.org/jeff/stupid-disclaimers/

Reply via email to