Christian Krackowizer <[EMAIL PROTECTED]> writes:

| Hi,
|
| I'm trying to build on Ultrix 4.3 (with Y2Kready kit) using gcc 2.95.2.
| strdup is #undef in config.h
|
|
| make[2]: Entering directory `/pub/tmp/sh-utils-2.0/src'
| gcc  -g -O2   -o pinky  pinky.o ../intl/libintl.a ../lib/libsu.a
| /usr/lib/cmplrs/cc/ld:
| Undefined:
| strdup
| collect2: ld returned 1 exit status
| make[2]: *** [pinky] Error 1
| make[2]: Leaving directory `/pub/tmp/sh-utils-2.0/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/pub/tmp/sh-utils-2.0'
| make: *** [all-recursive-am] Error 2
| ds5000:/pub/tmp/sh-utils-2.0 ==>

Thanks for the report.
Would you please run `make distclean; ./configure --cache=/dev/null'
and then send me your config.h and config.log files?

You can work around the problem manually by adding strdup.o
to the am_libsu_a_OBJECTS variable in lib/Makefile.in.

Reply via email to