This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
X compile fails for missing (internal?) symbols2
- From: Dick Repasky <rrepasky at lack dot ucs dot indiana dot edu>
- To: Cygwin X List <cygwin-xfree at cygwin dot com>
- Date: Thu, 5 Apr 2007 17:00:22 -0400 (EDT)
- Subject: X compile fails for missing (internal?) symbols2
- Reply-to: cygwin-xfree at cygwin dot com
I tried building X using the instructions at
http://x.cygwin.com/docs/cg/prog-build-native.html, including setting up
lndir.
The build fails with the following:
rm -f libXft-1.dll.a
rm -f cygXft-1.dll
gcc -shared -Wl,--out-implib=libXft-1.dll.a
-Wl,--enable-auto-import,--enable-ru
ntime-pseudo-reloc -Wl,--exclude-libs,ALL -o cygXft-1.dll xftcfg.o xftcolor.o
xftcore.o xftdbg.o xftdpy.o xftdraw.o xftextent.o xftfont.o xftfs.o
xftinit.o xftlist.o xftmatch.o xftmatrix.o xftname.o xftpat.o
xftstr.o xftxlfd.o xftfreetype.o xftglyphs.o xftrender.o xftdir.o
-L../../exports/lib -lXrender -lXext -lX11 -lfontconfig -lexpat -lfreetype
xftpat.o:xftpat.c:(.text+0x3c2): undefined reference to `_FcPatternInsertElt'
xftpat.o:xftpat.c:(.text+0x3ce): undefined reference to `_FcPatternFindElt'
Creating library file: libXft-1.dll.a
collect2: ld returned 1 exit status
make[4]: *** [cygXft-1.dll] Error 1
As best I can tell, the symbols should be defined by the x code itself, in
xc/extras/fontconfig/src/fcpat.c. Yet, they are not available when needed.
World.log is quite big, but I do not believe that make World attempted to build
the symbols. The first mention of "fontconfig" in the log is in the failed
step.
Attached are the output of cygcheck and the full build log.
Anybody know what's wrong?
Thanks,
Dick
----
Dick Repasky
Center for Computational Cytomics
UITS Cubicle 101.08
Indiana University
USA
rrepasky@indiana.eduAttachment:
cygcheck.out
Description: Text document
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/