On Fri, Mar 22, 2013 at 5:28 AM, Glynn Clements <gl...@gclements.plus.com> wrote: > > Markus Neteler wrote: >> >> grass-7.0.svn/lib/datetime> make >> o >> /afs/cluster/myuser/private/software/grass-7.0.svn/dist.powerpc-ibm-aix5.3.0.0/lib/libgrass_datetime.7.0.svn.so > >> make: o: Command not found > > This suggests that SHLIB_LD is empty, so the command: > > $(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(LIBES) $(EXTRA_LIBS) $(MATHLIB) > > reduces to: > > -o $@ $(LDFLAGS) $^ $(LIBES) $(EXTRA_LIBS) $(MATHLIB) > > A leading dash is interpreted by make as a flag which causes errors to > be ignored. So it interprets the "o" as the name of the program. > > And indeed, the *aix* section in SC_CONFIG_CFLAGS doesn't define > SHLIB_LD, so you'll need to use --disable-shared.
You could also try to set SHLIB_LD="${CC} -shared" in aclocal.m4 or patch it into configure in the aix section. Markus M _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev