Re: [osol-discuss] Using opensolaris 134 and sunstudio compiler

2010-07-20 Thread Ali Bahrami
Andre Lue wrote: getting "ld: fatal: file smartd.o: wrong ELF class: ELFCLASS64" when trying to build 64 bit versions of programs for most things where the 32 bit version builds fine. gmake all-recursive gmake[1]: Entering directory `/home/andre.l/smart/smartmontools-5.38' Making all in . gm

Re: [osol-discuss] Using opensolaris 134 and sunstudio compiler

2010-07-20 Thread Brian Cameron
Andre: On 07/20/10 01:25 PM, Andre Lue wrote: getting "ld: fatal: file smartd.o: wrong ELF class: ELFCLASS64" when trying to build 64 bit versions of programs for most things where the 32 bit version builds fine. if I recompose the failure line and add -m64 it completes. Am I doing somethin

Re: [osol-discuss] Using opensolaris 134 and sunstudio compiler

2010-07-20 Thread Marion Hakanson
sik3...@yahoo.com said: > CC -erroff=%none,wbadinitl,wbadasgl,badargtypel2w -xO2 -library=no%Cstd,no%C > run -library=no%Cstd,no%Crun -o smartd smartd.o atacmdnames.o atacmds.o > ataprint.o knowndrives.o scsicmds.o scsiata.o scsiprint.o utility.o > os_solaris.o -lnsl ld: fatal: file smartd.o

[osol-discuss] Using opensolaris 134 and sunstudio compiler

2010-07-20 Thread Andre Lue
getting "ld: fatal: file smartd.o: wrong ELF class: ELFCLASS64" when trying to build 64 bit versions of programs for most things where the 32 bit version builds fine. gmake all-recursive gmake[1]: Entering directory `/home/andre.l/smart/smartmontools-5.38' Making all in . gmake[2]: Entering d