To force the use of native compiler set the CC and CXX (not sure)
environment variables to desired values. Remove configure cache files
(rm config.*). Read the configure output carefully, to make sure
appropriate compiler is used.
The linker problem is strange. It is the first time I can se this kind
of problem.
Generaly there is problem with c++ problem linkage, but in this case it
looks like some very strange thing.
Please, try to link sabcmd manually using 'ld' or its friend.
Pavel
Vincent Croquette wrote:
>
> 1st: what file should I change to tell make to use cc and CC instead of gcc and
> g++ ?
See comment above
> 2nd: CC doesn't seem to like -fPIC option
If CC environment is set, configure should check this switch correctly.
> 3rd: at link time, I have the following problems:
> CC -g -O2 -o .libs/sabcmd sabcmd.o ../engine/.libs/libsablot.so -lexpat
> -R/usr/local/lib
> ild: (undefined symbol) List<Str*>::~List<Str*>(void) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) SList<Vertex*>::SList<Vertex*>(int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) PList<SitData*>::PList<SitData*>(int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) PList<SortDef*>::freeall(int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<Vertex*>::rm(int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<HashItem*>::append(HashItem*) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<SortDef*>::swap(int, int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<PhrasePhrase*>::~List<PhrasePhrase*>(void) --
> referenced in ../engine/.libs/libsablot.so
> ild: (undefined symbol)
> List<OutputHistoryItem*>::~List<OutputHistoryItem*>(void) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<SitData*>::append(SitData*) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<QNameStr*>::swap(int, int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) PList<FrontMatterItem*>::PList<FrontMatterItem*>(int) --
> referenced in ../engine/.libs/libsablot.so
> ild: (undefined symbol) PList<OutputterObj*>::freelast(int) -- referenced in
> ../engine/.libs/libsablot.so
> ild: (undefined symbol) PList<PhrasePhrase*>::PList<PhrasePhrase*>(int) --
> referenced in ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<DataLineItem*>::~List<DataLineItem*>(void) --
> referenced in ../engine/.libs/libsablot.so
> ild: (undefined symbol) List<DataLineItem*>::swap(int, int) -- referenced in
> ../engine/.libs/libsablot.so
>
>
> Thanks in advance
>
>
>
>
>
> |--------+----------------------->
> | | Pavel |
> | | Hlavnicka |
> | | <pavel@ginger|
> | | all.cz> |
> | | |
> | | 01/10/01 |
> | | 01:33 PM |
> | | Please |
> | | respond to |
> | | sablist |
> | | |
> |--------+----------------------->
> >--------------------------------------------------------------|
> | |
> | To: Sablotron Mailing List <[EMAIL PROTECTED]> |
> | cc: (bcc: Vincent Croquette/GVA/CH/Reuters) |
> | Subject: Re: [Sab] Sablotron on Solaris 2.6 with CC|
> | Header: Internal Use Only |
> >--------------------------------------------------------------|
>
>
>
>
>
>
> What's the porblem?
>
> Vincent Croquette wrote:
>
>
>> Hi everyone
>>
>> I'm trying to build Sablotron on Solaris 2.6 with CC instead of g++/c++.
>> Has anyone achieved this before ?
>>
>> Thanks in advance.
>>
>> Vincent Croquette
>>
>>
>> -----------------------------------------------------------------
>> Visit our Internet site at http://www.reuters.com
>>
>> Any views expressed in this message are those of the individual
>> sender, except where the sender specifically states them to be
>> the views of Reuters Ltd.
>
>
>
> --
> Pavel Hlavnicka
> Ginger Alliance Ltd.
> Prague; Czech Republic
>
>
>
>
> -----------------------------------------------------------------
> Visit our Internet site at http://www.reuters.com
>
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Reuters Ltd.
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic