OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Installation : Platform Hints : Sun Microsystems Solaris : Why can 'configure' fail to work out sizeof 'short', 'int' and 'long'? | |
On Sol 7, configure was trying to work out the byte-sizes of the above std. types, but kept failing. On checking the config.log, it was failing because certain settings in configure's 'config.h' (which it uses to #include into it's test-code) were conflicting with settings in <sys/types.h>. It looked like configure was failing to accurately work out some standard system types from sys/types.h: mode_t off_t pid_t size_t ssize_t caddr_t Adding the following fixed it: env ac_cv_type_mode_t=yes \ ac_cv_type_off_t=yes \ ac_cv_type_pid_t=yes \ ac_cv_type_size_t=yes \ ac_cv_type_ssize_t=yes \ ac_cv_type_caddr_t=yes \ ./configure ... wildjim@pobox.com | |
[Append to This Answer] |
Previous: | How do you workaround incremental loader assert failures in Solaris 8? |
Next: | Solaris stock ld and elf error: file ../../libraries/libldbm/libldbm.a: elf_getarsym |
|