sagun shakya wrote:
> Thank you Paul,
> 
> There is one warning I see and was wandering if any compiler expert 
> could answer this:
> 
> While compiling libpcap in 64bit sparc I was getting this error:
> ld: fatal: relocation error: R_SPARC_M44: file pcap-libdlpi.o: symbol 
> .rodata1 (section): relocations based on the ABS44 coding model can not 
> be used in building a shared object
> 

That almost sounds like something I saw when testing studio 12 on sfw.
Are you using 12 or 11 (you're supposed to be using 11 now).

> I found that adding the -xcode=pic32 to the CFLAGS fixed it. But when 
> compiling libpcap 64bit in i386 I get this warning. although the shared 
> library is built?
> 
> cc: Warning: illegal option -xcode=pic32

My cc man page says:

      -xcode=v
           (SPARC) Specify code address space

        Mike

Reply via email to