Jurjen Oskam
2006-Feb-25 22:21 UTC
[Samba] Compiling Samba on AIX 5.3 with idmap_rid fails
Hi everyone, I'm trying to use idmap_rid with Samba 3.0.21c on AIX 5.3. So far, I've not been successful. I've followed the method from http://us5.samba.org/samba/ftp/Binary_Packages/AIX/README to compile Samba, but added "--with-static-modules=idmap_rid". Also, I used IBM's compiler and not gcc. The compilation fails as follows: [...] Compiling sam/idmap.c Compiling sam/idmap_util.c Compiling sam/idmap_ldap.c Compiling sam/idmap_tdb.c Compiling sam/idmap_rid.c Linking bin/winbindd ld: 0711-317 ERROR: Undefined symbol: .idmap_rid_init ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. When I use gcc, it also fails at the same point. I also tried "--with-shared-modules=idmap_rid". The compilation then succeeds, but winbindd then instantly crashes with a signal 11. What can I do to properly diagnose this problem? -- Jurjen Oskam
David Shapiro
2006-Feb-27 14:00 UTC
[Samba] Compiling Samba on AIX 5.3 with idmap_rid fails
I have put a bug in for this a couple weeks ago. I have the same issue with 5.2. I think it is somehow related to pthread support in our gcc compilers. I wonder if we would have better luck with ibm visualage... Do you have ibm's compiler to test this theory? David David Shapiro Unix Team Lead 919-765-2011>>> Jurjen Oskam <jurjen@stupendous.org> 2/25/2006 5:14:07 PM >>>Hi everyone, I'm trying to use idmap_rid with Samba 3.0.21c on AIX 5.3. So far, I've not been successful. I've followed the method from http://us5.samba.org/samba/ftp/Binary_Packages/AIX/README to compile Samba, but added "--with-static-modules=idmap_rid". Also, I used IBM's compiler and not gcc. The compilation fails as follows: [...] Compiling sam/idmap.c Compiling sam/idmap_util.c Compiling sam/idmap_ldap.c Compiling sam/idmap_tdb.c Compiling sam/idmap_rid.c Linking bin/winbindd ld: 0711-317 ERROR: Undefined symbol: .idmap_rid_init ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. When I use gcc, it also fails at the same point. I also tried "--with-shared-modules=idmap_rid". The compilation then succeeds, but winbindd then instantly crashes with a signal 11. What can I do to properly diagnose this problem? -- Jurjen Oskam -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba