On Mon, Dec 04, 2006 at 03:25:32PM -0600, Kirby Cliff wrote: > I did not have the 64bit binutils installed. Unfortunately installing that > did not fix my problem. I have been able to get a bit farther by unsetting > the LDFLAGS and setting CC to "gcc -m64" but this is the error I get,
You needed to remove -m64 from LDFLAGS? > suse-fs3:/home/trip3/pvfs-2.6.0 # make kmod V=1 > for i in pvfs2-utils.c devpvfs2-req.c pvfs2-cache.c dcache.c file.c inode.c > dir.c namei.c super.c pvfs2-mod.c pvfs2-bufmap.c symlink.c xattr.c acl.c > xattr-trusted.c xattr-default.c waitqueue.c pvfs2-proc.c pvfs2-kernel.h > pvfs2-dev-proto.h pvfs2-bufmap.h upcall.h downcall.h pvfs2-proc.h; do \ > if [ ! -f $i -a ! -L $i ] ; then \ > ln -s ../../.././src/kernel/linux-2.6/$i ;\ > fi ;\ > done > make -C /usr/src/linux-2.6.16.21-0.25 > SUBDIRS=/home/trip3/pvfs-2.6.0/src/kernel/linux-2.6 modules > rm -rf /home/trip3/pvfs-2.6.0/src/kernel/linux-2.6/.tmp_versions > mkdir -p /home/trip3/pvfs-2.6.0/src/kernel/linux-2.6/.tmp_versions > make -f scripts/Makefile.build > obj=/home/trip3/pvfs-2.6.0/src/kernel/linux-2.6 > Building modules, stage 2. > make -rR -f /usr/src/linux-2.6.16.21-0.25/scripts/Makefile.modpost > scripts/mod/modpost -m -a -i /usr/src/linux-2.6.16.21-0.25/Module.symvers > -I /home/trip3/pvfs-2.6.0/src/kernel/linux-2.6/Modules.symvers -o > /home/trip3/pvfs-2.6.0/src/kernel/linux-2.6/Modules.symvers -s /dev/null > vmlinux /home/trip3/pvfs-2.6.0/src/kernel/linux-2.6/pvfs2.o this all looks ok > gcc -m64 -o src/apps/kernel/linux/pvfs2-client-core-threaded -L > /home/trip3/pvfs-2.6.0/lib -rdynamic > src/apps/kernel/linux/pvfs2-client-core.o -lpvfs2-threaded -lpthread > /usr/bin/ld: cannot find -lpvfs2-threaded > collect2: ld returned 1 exit status > make: *** [src/apps/kernel/linux/pvfs2-client-core-threaded] Error 1 What might have happened here is that the libpvfs2-threaded.a (or libpvfs2-threaded.so, if you built with shared libraries) was built in 32 bit mode, but a 'make clean' didn't get rid of it. We've fixed this in CVS, but in the meantime, remove 'lib/libpvfs2-threaded.*' and anything that looks like '*-threaded.o' left behind after a 'make clean'. Rebuild and you should get back on track. ==rob -- Rob Latham Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF Argonne National Lab, IL USA B29D F333 664A 4280 315B _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
