Further,
config.log looks in the right place, but fails. Then configure does not
report the problem.
Relevant portions of config.log attached.
"Garst R. Reese" wrote:
>
> xforms-1.0release
> bash$ autoconf --version
> autoconf (GNU Autoconf) 2.53
> bash$ automake --version
> automake (GNU automake) 1.6.3
> Also tried 2.13 and 1.5
> I get undefined reference to anything in flimage.
> configure says it found flimage.h
>
> Garst
configure:11922: checking X11/forms.h presence
configure:11922: g++ -E -isystem /usr/X11R6/include conftest.cc
configure:11922: $? = 0
configure:11922: result: yes
configure:11922: checking for X11/forms.h
configure:11922: result: yes
configure:11922: checking xforms header version
configure:11922: result: 1.0.0
configure:11922: checking for flimage.h
configure:11922: gcc -c -O2 -isystem /usr/X11R6/include conftest.c >&5
configure:11925:21: flimage.h: No such file or directory
configure:11922: $? = 1
configure: failed program was:
#line 11922 "configure"
#include "confdefs.h"
#include <X11/forms.h>
#include <flimage.h>
configure:11922: result: no
configure:11922: checking for X11/flimage.h
configure:11922: gcc -c -O2 -isystem /usr/X11R6/include conftest.c >&5
configure:11922: $? = 0
configure:11922: test -s conftest.o
configure:11922: $? = 0
configure:11922: result: yes
configure:11922: checking for library containing flimage_dup
configure:11922: gcc -o conftest -O2 -isystem /usr/X11R6/include conftest.c -lforms
-lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 >&5
/tmp/cc0skoOB.o: In function `main':
/tmp/cc0skoOB.o(.text+0x9): undefined reference to `flimage_dup'
collect2: ld returned 1 exit status
configure:11922: $? = 1
configure: failed program was:
#line 11922 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char flimage_dup ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
flimage_dup ();
;
return 0;
}
configure:11922: gcc -o conftest -O2 -isystem /usr/X11R6/include conftest.c
-lflimage -lforms -lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 >&5
/usr/lib/libtiff.so.3: undefined reference to `deflate'
/usr/lib/libtiff.so.3: undefined reference to `inflate'
/usr/lib/libtiff.so.3: undefined reference to `inflateInit_'
/usr/lib/libtiff.so.3: undefined reference to `deflateInit_'
/usr/lib/libtiff.so.3: undefined reference to `inflateReset'
/usr/lib/libtiff.so.3: undefined reference to `deflateReset'
/usr/lib/libtiff.so.3: undefined reference to `inflateSync'
/usr/lib/libtiff.so.3: undefined reference to `atexit'
/usr/lib/libtiff.so.3: undefined reference to `deflateParams'
/usr/lib/libtiff.so.3: undefined reference to `inflateEnd'
/usr/lib/libtiff.so.3: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure:11922: $? = 1
configure: failed program was:
#line 11922 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char flimage_dup ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
flimage_dup ();
;
return 0;
}
configure:11922: result: no
ac_cv_have_x='have_x=yes ac_x_includes=/usr/X11R6/include
ac_x_libraries=/usr/X11R6/lib'
ac_cv_header_X11_flimage_h='yes'
ac_cv_header_X11_forms_h='yes'
ac_cv_header_X11_xpm_h='yes'
ac_cv_header_argz_h='yes'
ac_cv_header_dirent_dirent_h='yes'
ac_cv_header_dlfcn_h='yes'
ac_cv_header_flimage_h='no'
ac_cv_header_forms_h='yes'
ac_cv_header_inttypes_h='yes'
ac_cv_prog_make_make_set='yes'
ac_cv_search_flimage_dup='no'
ac_cv_search_opendir='none required'