Re: amanda-2.4.4p4 compile error on solaris 8
2005-02-10 11:25:02
On Thursday 10 February 2005 15:46, Jon LaBadie wrote:
> On Thu, Feb 10, 2005 at 01:33:53PM +0000, Rolinux wrote:
> > Hi,
> > I try to compile amanda-2.4.4p4 on solaris 8 to get the amrecover_changer
> > option (we run now amanda-2.4.3):
> >
> > [root@backup-a01 /root]# uname -a
> > SunOS backup-a01 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-250
>
> ...
>
> > Some system details:
> >
> > [amanda@backup-a01 amanda-2.4.4p4]$ echo $PATH
> > /usr/bin::/usr/local/bin:/usr/ucb:/usr/ccs/bin
> > [amanda@backup-a01 amanda-2.4.4p4]$ echo $LD_LIBRARY_PATH
> >
> > [amanda@backup-a01 amanda-2.4.4p4]$
> > [amanda@backup-a01 amanda-2.4.4p4]$ type ld
> > ld is /usr/local/bin/ld
>
> Many (most?) gcc installations on Solaris use the standard
> Sun provided assembler and linker. Is there a specific
> reason you are not using the Sun linker?
>
> Perhaps move /usr/ccs/bin in your path before /usr/local/bin.
Same error:
execve 0x514 .libs/pipespawn.o
execve 0xc0c .libs/pipespawn.o
__cmpdi2 0x3c .libs/statfs.o
__cmpdi2 0xb8 .libs/statfs.o
__cmpdi2 0x134 .libs/statfs.o
__floatdidf 0x50 .libs/statfs.o
__floatdidf 0xcc .libs/statfs.o
__floatdidf 0x148 .libs/statfs.o
__floatdidf 0x1e0 .libs/statfs.o
__floatdidf 0x244 .libs/statfs.o
__floatdidf 0x2a8 .libs/statfs.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libamanda.la'
Current working directory /export/home/mov04995/amanda-2.4.4p4/common-src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
[amanda@backup-a02 amanda-2.4.4p4]$ echo $PATH
/usr/bin::/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/local/samba/bin
[amanda@backup-a02 amanda-2.4.4p4]$
>
> > [amanda@backup-a01 amanda-2.4.4p4]$
> > [amanda@backup-a01 amanda-2.4.4p4]$ pkginfo -l SMCgcc
> > PKGINST: SMCgcc
> > NAME: gcc
> > CATEGORY: application
> > ARCH: sparc
> > VERSION: 3.1
> > BASEDIR: /usr/local
> > VENDOR: Free Software Foundation
>
> ...
>
> > Can you please help me with some ideas about how to compile this version
> > of amanda on solaris 8?
>
> Many gcc installations for Solaris include a script called something
> like "fixheaders". Does your gcc package have such a script and has
> it been run?
[root@backup-a01 /]# find / -name fixheaders -print
[root@backup-a01 /]#
No fixheaders
Thank you,
Radu
|
|
|