You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by "Tovrea, George W (US SSA)" <ge...@baesystems.com> on 2009/09/16 16:22:45 UTC

Undefined references in libxerces-c.so.28.0

Compile commands:

tovrea@siamese%printenv LDFLAGS
-L{HOME}/GCC_SOL_II/local/lib/gcc/sparc-sun-solaris2.10/4.4.0 -L/net/whistler/auto/users/tovrea/local/sol2/lib 
tovrea@siamese%env | grep LD_LIB
LD_LIBRARY_PATH=/net/whistler/auto/users/tovrea/local/sol2/lib:/net/whistler/auto/users/tovrea/GCC_SOL_II/local/lib:/net/whistler/auto/users/tovrea/GCC_SOL_II/local/lib/gcc/sparc-sun-solaris2.10/4.4.0
LD_LIBRARYN32_PATH=/net/whistler/auto/users/tovrea/local/sol2/lib:/net/whistler/auto/users/tovrea/GCC_SOL_II/local/lib:/net/whistler/auto/users/tovrea/GCC_SOL_II/local/lib/gcc/sparc-sun-solaris2.10/4.4.0

$CXX -o ffmeta ffmeta_main.cc -pthread -D__STDC_CONSTANT_MACROS -B{HOME}/GCC_SOL_II/local/bin $CPPFLAGS $LDFLAGS -lavformat -lavcodec -lavutil -lx264 -lbz2 -lz -lxerces-c

Errors:

/net/whistler/auto/users/tovrea/local/sol2/lib/libxerces-c.so: undefined reference to `write@SUNW_0.9'
/net/whistler/auto/users/tovrea/local/sol2/lib/libxerces-c.so: undefined reference to `open@SUNW_0.9'
/net/whistler/auto/users/tovrea/local/sol2/lib/libxerces-c.so: undefined reference to `pthread_equal@SUNW_0.9'
/net/whistler/auto/users/tovrea/local/sol2/lib/libxerces-c.so: undefined reference to `close@SUNW_0.9'
/net/whistler/auto/users/tovrea/local/sol2/lib/libxerces-c.so: undefined reference to `read@SUNW_0.9'
/net/whistler/auto/users/tovrea/local/sol2/lib/libxerces-c.so: undefined reference to `pthread_self@SUNW_0.9'
collect2: ld returned 1 exit status

What am I missing?

Bill Tovrea

BAE Systems

16550 West Bernardo Drive
San Diego, CA 92127

Telephone: (858) 592-5292

Pager: (888) 971-4964

E-mail: George.Tovrea@baesystems.com