Thanks for the quick reply.  I tried the settings as you mentioned and had a
problem with the GNU linker.  The version of ld is 2.16.91.0.5.

ld: unrecognised emulation mode: 64
Supported emulations: elf32ppclinux elf32ppc elf32ppcsim elf64alpha alpha
armelf_linux armelf hppalinux elf_i386 i386linux elf64_ia64 m68kelf
m68klinux elf64ppc elf_s390 elf64_s390 elf32_sparc sparclinux elf64_sparc
sun4 elf_x86_64 ppcmacos
make[3]: *** [/home/trip3/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2.o] Error 1
make[2]: *** [_module_/home/trip3/pvfs-2.6.0/src/kernel/linux-2.6] Error 2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2

Looking at the ld man pages I changed LDFLAGS to -melf64ppc but that did not
work either.

 
> On Mon, Dec 04, 2006 at 11:06:05AM -0600, Kirby Cliff wrote:
>  
>> I have tried the configure script from CVS and the one included.  My
>> configure line has the correct kernel source, /configure
>> --with-kernel=/usr/src/linux-2.6.16.21-0.25 --without-openssl
> 
> Hi
> 
> Your platform and the warnings you are seeing are unfortunately quite common
> on ppc 970 machines, especially when the compiler and toolchain is "biarch"
> -- able to produce 32 or 64 bit executables.
> 
> the PVFS configure script is testing for kernel features, and is probably
> doing so with the compiler in 32 bit mode.  Your kernel, however, is 64 bit,
> and all the linux kernel header files are created accordingly.
> 
> To fix this problem, add "-m64" to your CFLAGS and LDFLAGS and re-run
> configure.
> 
> If you find you do not have the 64 bit versions of the berkely db, that's
> ok.  You only need those to make the pvfs server, so when you configure for
> the kernel module you can pass --disable-server.
> 
> Let us know if that doesn't do the trick.
> ==rob


_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to