You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by TaoFengmei <ta...@huawei.com> on 2002/02/26 05:43:57 UTC
what problem in compiling Xerces on UnixWare? Undefined symbol :ValueVectorOf::ValueVectorOf(unsigned int) [with T1=bool] libxerces-c1_6_0.so
Hi Jorge Pozo Ramirez��
Thanks for your help.Now i have finished the compilering of Xerces-C 1_6_0.But when i test this lib,i met a very strange problem.as follows:
Undefined first referenced
symbol in file
ValueVectorOf<T1>::ValueVectorOf<bool>(unsigned int) [with T1=bool] libxerces-c1_6_0.so
RefHashTableOfEnumerator<T1>::RefHashTableOfEnumerator<KVStringPair>(RefHashTableOf<T1> *, bool) [with T1=KVString
Pair] libxerces-c1_6_0.so
RefHashTableOf<T1>::~RefHashTableOf<DTDAttDef>(void) [with T1=DTDAttDef] libxerces-c1_6_0.so
RefVectorOf<T1>::RefVectorOf<SchemaElementDecl>(unsigned int, bool) [with T1=SchemaElementDecl] libxerces-c1_6_0.s
o
RefVectorOf<T1>::~RefVectorOf<ValueStackOf<int>>(void) [with T1=ValueStackOf<int>] libxerces-c1_6_0.so
..............................
............
ValueStackOf<T1>::removeAllElements(void) [with T1=int, return type=void] libxerces-c1_6_0.so
ValueVectorOf<T1>::elementAt(unsigned int) [with T1=bool, return type=T1 &] libxerces-c1_6_0.so
RefHashTableOf<T1>::put(void *, T1 *) [with T1=DatatypeValidator, return type=void] libxerces-c1_6_0.so
RefVectorOf<T1>::addElement(T1 *) [with T1=SchemaElementDecl, return type=void] libxerces-c1_6_0.so
UX:ld: ERROR: a.out: fatal error: Symbol referencing errors. No output written to a.out
i check the code and makefile,i find all this undefined symbols come from the following files in directory "xerces-c-src1_6_0/include/util":
CountedPointer.c NameIdPool.c RefHashTableOf.c ValueArrayOf.c
FlagJanitor.c RefArrayOf.c RefStackOf.c ValueStackOf.c
Janitor.c RefHash2KeysTableOf.c RefVectorOf.c ValueVectorOf.c
KeyValuePair.c RefHash3KeysIdPool.c TransENameMap.c XMLDeleterFor.c
i can't find the object files for these source file after compiling.what's the use of these files?
How can i solove this problem?
other,i want to install gcc in unixware 7.1.1,compiling succed.But when i install it to system,meet such problem:
# make install
/bin/sh ../mkinstalldirs /usr/local /usr/local
(cd intl && make all)
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/genattr.c
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/rtl.c
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/bitmap.c
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/
config -I../../gcc/../include ../../gcc/print-rtl.c
cc -DIN_GCC -g -DHAVE_CONFIG_H -o genattr \
genattr.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo obs
tack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?
*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;;
esac `
Undefined first referenced
symbol in file
alloca genattr.o
UX:ld: ERROR: genattr: fatal error: Symbol referencing errors. No output written
to genattr
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
could you help me? i can't find any way to compile Xerces-C 1_6_0 on unixware.Save me!
thanks,
tao
In 2002-01-25 08:13:00 ,you wrote��
> Greetings.
>
> I succesfully compiled both Xerces-C 1_5_2 and 1_6_0 on SCO OpenServer
>machines. Nevertheless, the source code of Xerces are ready for compiling on
>Unixware machines so you shouldn't have troubles to build it on UW os. Use
>the GNU GCC compiler, available almost everywhere.
>
> Then, just install the sources package, and run a shell script included
>in the package called "runConfigure", which will configure all the makefiles
>for your system. See the readme files for details. You may need to change
>some code, as the Unixware port was abandoned some time ago. I include
>attached to this mail a diff file with the changes I made. The library are
>built as NON THREADED mode with my changes.
>
> The, load the gnu gmake program, and Shoot!! ;)
>
> Regards.
>
>Jorge
>
>
>
>----- Original Message -----
>From: "TaoFengmei" <ta...@huawei.com>
>To: "Jorge Pozo Ramirez" <j....@externo.mju.es>
>Sent: Friday, January 25, 2002 5:00 AM
>Subject: Re: Xerces for UnixWare
>
>
>> Hi Jorge ��
>> Have you got a XERCES-C release version for Unixware 7.1.1?How about
>progress?Now i want to use it on Unixware 7.1.1.What can i do to fasten the
>progress. Of course i wish the release version was ready.
>> Waiting for your reply!
>>
>> Thanks.
>>
>>
>> In 2001-10-29 19:56:00 ,you wrote��
>> > Greetings.
>> >
>> > My name is Jorge Pozo, and I'm working on XML issues. I've been
>searching for XML parsers for UNIX systems, and now it's the turn of
>XERCES-C on SCO OpenServer 5.0.5, with the Unixware 7.1.1 compat release.
>> >
>> > I'm having some troubles to get a working version of Xerces for SCO,
>and browsing through forums I found a message from you, asking for a working
>version of Unixware.
>> >
>> > Have u managed to run Xerces succesfully on Unixware?. If so, what
>have u done to get it?.
>> >
>> > Thank u a lot. Regards.
>> >
>> >
>> >Jorge Pozo Ram�rez
>> >Accenture
>> >Technology Consulting Services
>> >Government GMU
>> >Subdirecci�n General de Inform�tica
>> >- Ministerio de Justicia -
>> >
>> >
>> >**********************************************************************
>> >Este mensaje ha sido analizado con una herramienta de
>> >deteccion de virus para su seguridad.
>> >
>> >Ministerio de Justicia
>> >www.mju.es
>> >**********************************************************************
>>
>>
>> Rgds
>>
>> TaoFengmei
>> taofengmei@huawei.com
>> Conntact with me:8789368
>> 2002-01-25
>>
>>
>>
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
>? ? ? ? ? ? ? ? ? ? ? ? ?
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
>? ? ?
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Rgds
TaoFengmei
taofengmei@huawei.com
Conntact with me:8789368
2002-02-26
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org