Hi Neil,

  Thank you for your response.

  I have upgraded my gcc compiler to 3.2 now and tried to build again..
but i am getting the exact same errors..

$gcc -v
Reading specs from
/opt/gnu/compilers/5.8/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../configure --prefix=/opt/gnu/compilers/5.8/gcc-3.2
Thread model: posix
gcc version 3.2

it is somehow not able to build
/xerces-c-src_2_3_0/lib/libxerces-c.so.23.0
as the error is saying..

ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
gmake[1]: *** [/home/medepasv/xerces-c-src_2_3_0/lib/libxerces-c.so.23.0]
Error 1
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/home/medepasv/xerces-c-src_2_3_0/obj'
gmake: *** [/home/medepasv/xerces-c-src_2_3_0/lib/libxerces-c.so.23.0]
Error 2

at the end.. any ideas for me??

Thanks in advance.
Satish




--- Neil Graham <[EMAIL PROTECTED]> wrote:
> Hi Satish,
> 
> We saw a couple of other problems with GCC 2.95.3 on other platforms; we
> worked around them with some rather ugly conditional-compilation code
> triggered by compiler version.  See, for instance, line 124 of
> RefHash3KeysIdPool.c (as found in current CVS).  I'm afraid you've
> likely
> hit another compiler bug, and that a similar sort of workaround would
> have
> to be implemented.
> 
> Any chance you can upgrade your compiler?  :)
> 
> Cheers,
> Neil
> Neil Graham
> XML Parser Development
> IBM Toronto Lab
> Phone:  905-413-3519, T/L 969-3519
> E-mail:  [EMAIL PROTECTED]
> 
> 
> 
> 
> |---------+---------------------------->
> |         |           Satish Medepalli |
> |         |           <satishmedepalli@|
> |         |           yahoo.com>       |
> |         |                            |
> |         |           06/26/2003 11:14 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           xerces-c-dev     |
> |         |                            |
> |---------+---------------------------->
>  
>
>---------------------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                     
>                                                                        |
>   |       To:       [EMAIL PROTECTED]                         
>                                                                        |
>   |       cc:       David N Bertoni/Cambridge/[EMAIL PROTECTED]                 
>                                                                        |
>   |       Subject:  Errors while Building xerces on Solaris using GCC   
>                                                                        |
>   |                                                                     
>                                                                        |
>   |                                                                     
>                                                                        |
>  
>
>---------------------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> Hello,
> 
>    I am trying to build xerces-c 2.3.0 on Solaris-2.7 (SunOS 5.8) using
> GCC-2.95.3, but was having some errors. I am very new to xerces and
> would
> really appreciate any help with this..
> 
> This is what i have done to build it-
> 
> while running the runConfigure scripts I gave the following gcc flags..
> 
> runConfigure -psolaris -cgcc -xg++ -minmem -nsocket -tnative -rpthread
> 
> after that when i made "gmake" i have following errors..
> 
> 
> 
> Building /home/medepasv/xerces-c-src_2_3_0/lib/libxerces-c.so.23.0
> gmake -C /home/medepasv/xerces-c-src_2_3_0/obj/SOLARIS/.. -k
> gmake[1]: Entering directory `/home/medepasv/xerces-c-src_2_3_0/obj'
> Building /home/medepasv/xerces-c-src_2_3_0/lib/libxerces-c.so.23.0
> g++ -DSOLARIS -shared  -h libxerces-c.so.23 -o
> /home/medepasv/xerces-c-src_2_3_0/lib/libxerces-c.so.23.0
> SOLARIS/ASCIIRangeFactory.o SOLARIS/AbstractDOMParser.$
> Text relocation remains referenced against symbol offset  in file
> <unknown>                           0xac8
> /opt/gnu/compilers/5.8/gcc-2.95.3/lib/gcc-lib/sparc-sun
> solaris2.8/2.95.3/libstdc++.a(iovfscanf.o)
> 
> <unknown>                           0xacc
>
/opt/gnu/compilers/5.8/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/libstdc++.a(iovfscanf.o)
> 
> 
> and a series of this followed.. if anyone can give me some solution to
> this it would really help.
> 
> Thanks,
> Satish
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to