On Fri, 28 Jan 2005, Frank Bagehorn wrote:

The system is a JS20 PowerPC blade with SLES9.
I get a

+ cc -o pam_afs.so.1 afs_setcred.o afs_auth.o afs_util.o afs_account.o
afs_sessi
[]
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/crt1.o(.rodata+0x4):..
/sysdeps/powerpc/powerpc32/elf/start.S:46: undefined reference to `main'

when compiling the PAM stuff. What's going wrong here ?

what happens if you replace e.g. *linux*) \ $(CC) $(LDFLAGS) -o $@ afs_setcred.o \ afs_auth.o afs_util.o $(SHOBJS) $(LIBS) ;;\ with *linux*) \ $(SHLIB_LINKER) $(LDFLAGS) -o $@ afs_setcred.o \ afs_auth.o afs_util.o $(SHOBJS) $(LIBS) ;;\ in src/pam/Makefile.in (or in Makefile if you don't want to reconfigure)

If it's fixed, cc doesn't like being used the way it's being used. If it's still broken, the SHLIB_LDFLAGS for your platform are insufficient.


_______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to