On Thursday 02 April 2009 (02:00 pm), John Goubeaux wrote:
> Has anyone done a successful build of  clamAV-0.95 0n Solaris 10 x86 ?
> 
> I have not been able to get a version greater than 0.92.1 on Solaris 10 
> x86  to build to date, and am
> wondering what changed after 0.92.1 that is giving me the problem.
> 
> ./configure --sysconfdir=/etc
> checking build system type... i386-pc-solaris2.10
> .....
> 
> no errors
> 
> gmake
> .....
> 
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> gmake[4]: *** [libclamav.la] Error 1
> gmake[4]: Leaving directory `/export/home/john/src/clamav-0.95/libclamav'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/export/home/john/src/clamav-0.95/libclamav'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/export/home/john/src/clamav-0.95/libclamav'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/john/src/clamav-0.95'
> gmake: *** [all] Error 2
> 

I haven't switched to 0.95 yet, but I just did a test build on this
machine: 

  SunOS inet1 5.10 Generic_127112-03 i86pc i386 i86pc

And it compiled just fine using GCC. My build uses the same ld that 
GCC was compiled with: 

  configure:4636: checking for ld used by gcc
  configure:4703: result: /usr/ccs/bin/ld
  configure:4712: checking if the linker (/usr/ccs/bin/ld) is GNU ld
  configure:4727: result: no

Perhaps something's changed with your 'ld'?

-- 
reintarnation (n.):
  Coming back to life as a hillbilly.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to