Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Problems building sdb on AIX

Dave,

You probably need to run autoconf (and possibly aclocal) before automake in order to bring everything up to the correct version.

Greg

On Dec 4, 2012, at 12:26 PM, Dave Wootton <dwootton@xxxxxxxxxx> wrote:

I'm trying to build the sdm module on AIX and am running into problems.

The first problem, which I can fix, is that org.eclipse.ptp.utils/src/compat.c has a function definition
vasprintf(char **strp, const char *fmt, va_list ap)
that needs to change to
vasprintf(char **ret, const char *fmt, va_list ap)

Once I change that and run the BUILD script for AIX, the build for the sdm fails in libaif with an unresolved reference to asprintf, which is only available in libutils.a for AIX. The asprintf function is not implemented by standard AIX libraries.

I tried to fix this by changing the Makefile.am file in org.eclipse.ptp.drbug.sdm/libaif to add -lutils to testaif_LDFLAGS, but when I tried to run automake I got an error telling me the configuration files were built using autoconf 2.61 while I have version 2.63. So I can't rebuild the files.

I'm also not sure how to specify the -L flag to point to the org.eclipse.ptp.utils directory since the directory hs a timestamp as part of its name, and I'm not sure libaif is teh only directory where I need to change the Makefiles.
Dave_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top