Bug 1988 - AIX 4.3 linker does not like .po extension on object files
Summary: AIX 4.3 linker does not like .po extension on object files
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.7
Hardware: PPC AIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 09:15 UTC by Joe Buehler
Modified: 2005-08-24 10:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Buehler 2004-11-02 09:15:04 UTC
Here's a simple patch to fix the problem (copied from
the Sun part of configure).

--- source/configure.~1~	2004-09-12 00:05:17.000000000 -0400
+++ source/configure	2004-11-01 11:49:04.000000000 -0500
@@ -17949,6 +17949,7 @@
 			if test "${GCC}" != "yes"; then
 				## for funky AIX compiler using strncpy()
 				CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
+				PICSUFFIX="po.o"
 			fi
Comment 1 Tim Potter 2004-12-18 18:02:55 UTC
Applied - do you have an AIX 4.2 system to test this on as well?  I don't know
whether this will break on older versions.

BTW configure.in is the right file to edit in this case as configure is
generated from configure.in by autoconf.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-08 07:31:21 UTC
tpot says fixed.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:16:59 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.