Hi,

since there is no python 2.7 on sparc, I tried to build the no_python FLAVOR of 
libxml, but it failed, see below. Its building fine on i386 and macppc. Note, 
on the sparc I use the snapshot from Nov. 12, with a recent (this week) CVS 
checkout of the ports tree. I just built and installed pkg_* from src and 
installed it. On i386 and macppc I use more recent snapshots.
Is it just the base snapshot is too old, i.e. pkg-config?

Sebastian

FLAVOR=no_python make
...
libtool: link: cc -o .libs/testSchemas -O2 -pipe -pedantic -W -Wformat -Wunused 
-Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wform
at -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith 
-Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototype
s -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls 
testSchemas.o -L.libs -lxml2 -lz -liconv -lm -Wl,-rpath,/usr/local/lib
.libs/libxml2.so.12.0: warning: strcpy() is almost always misused, please use 
strlcpy()
.libs/libxml2.so.12.0: warning: strcat() is almost always misused, please use 
strlcat()
.libs/libxml2.so.12.0: undefined reference to `xmlGetPredefinedEntity'
.libs/libxml2.so.12.0: undefined reference to `xmlAddDocEntity'
.libs/libxml2.so.12.0: undefined reference to `xmlGetDocEntity'
.libs/libxml2.so.12.0: undefined reference to `xmlEncodeEntitiesReentrant'
.libs/libxml2.so.12.0: undefined reference to `xmlCopyEntitiesTable'
.libs/libxml2.so.12.0: undefined reference to `xmlEncodeSpecialChars'
.libs/libxml2.so.12.0: undefined reference to `xmlAddDtdEntity'
.libs/libxml2.so.12.0: undefined reference to `xmlFreeEntitiesTable'
.libs/libxml2.so.12.0: undefined reference to `xmlDumpEntityDecl'
.libs/libxml2.so.12.0: undefined reference to `xmlGetParameterEntity'
collect2: ld returned 1 exit status
Error while executing cc -o .libs/testSchemas -O2 -pipe -pedantic -W -Wformat 
-Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs
 -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow 
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-pr
ototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls 
testSchemas.o -L.libs -lxml2 -lz -liconv -lm -Wl,-rpath,/usr/local/l
ib
*** Error code 1
...


Reply via email to