This looks like a Xerces configuration issue. From the file
util\NetAccessors\Socket\UnixHTTPURLInputStream.cpp:
* Revision 1.1 2000/03/20 23:48:51 rahulj
* Added Socket based NetAccessor. This will enable one to
* use HTTP URL's for system id's. Default build options do
* not use this NetAccessor. Specify the '-n socket' option
* to 'runConfigure' to configure Xerces-C to use this new
* feature. The code works under Solaris 2.6, Linux, AIX
* and HPUX 11 with aCC.
* Todo's: enable proper error handling.
So perhaps you have mis-configured something? At any rate, this is a
Xerces issues. Xalan _never_ refers to this class anywhere. You should
also double-check your Xerces build -- the Xerces Makefiles do not stop
when an error occurs, so it's very easy to think everything went well when
it didn't. Try building an individual target:
make Util
That should help determine whether or not everything built successfully.
You might also check the Xerces obj directory for the file
UnixHTTPURLInputStream.o.
Hope that helps...
Dave
Dimitry
Chernyshov To: [EMAIL PROTECTED]
<shev@polardesi cc: (bcc: David N Bertoni/CAM/Lotus)
gn.ru> Subject: Re: Problems with building
Xalan-C
Sent by:
[EMAIL PROTECTED]
rdesign.ru
08/30/2001
12:50 PM
Please respond
to xalan-dev
The problems are proceeding...
GCC 2.95.3
ICU 1.8.1
Xerces-C 1.5.1
Xalan-C 1.2
While compiling testXSLT:
---------
g++ -DLINUX -fpic -DXALAN_USE_ICU -Wl,-rpath,/usr/local/lib \
-lc -L/home/packages/xml-xalan/c/lib -lxalan-c1_2 -L/usr/lib
-L/home/packages/xerces-c-src1_5_1/lib -lxerces-c1_5 -L/usr/local/lib
-licuuc -L/usr/local/lib -licui18n
/home/packages/xml-xalan/c/obj/process.o -o
/home/packages/xml-xalan/c/bin/testXSLT
/usr/local/lib/libxerces-c1_5.so: undefined reference to
`UnixHTTPURLInputStream::UnixHTTPURLInputStream(XMLURL const &)'
collect2: ld returned 1 exit status
make: *** [/home/packages/xml-xalan/c/bin/testXSLT] Error 1
--------
It asks for libxerces-c1_5.so, though xerces-c1.5.1 is being used
(libxerces-c1_5_1.so). After I create libxerces-c1_5.so symlink, the
error occurs...
Any help would be greatly appreciated!
Best,
Dimitry
Dimitry Chernyshov wrote:
>
> Looks like you're right... I do have those files, though the directory
> is not being scanned by default... Time to tune gcc... :)
>
> Thanks!
>
> Best,
> Dimitry
>