Compile errors on Solaris, early AIX and PAM platforms

Darren Tucker dtucker at zip.com.au
Mon Feb 24 16:42:05 EST 2003


Hi All.
	Damien merged a bunch of changes today which caused compile errors on a
few platforms (which you can see live and in colour at [0]).

a) Solaris, early AIX:
../crc32.c:100: `u_int32_t´ undeclared (first use in this function)

	On these platforms u_int32_t is defined in defines.h which is not
included by crc32.c.  Fixed by attached patch.

b) PAM platforms (Redhat, Solaris once a) is fixed, probably others)
gcc -o sshd sshd.o [snip]
auth2-kbdint.o: In function `userauth_kbdint´:
/home/dtucker/openssh/openssh-tinderbox/Linux-2.4.18-24.8.0/../auth2-kbdint.c:54:
undefined reference to `auth2_pam´
collect2: ld returned 1 exit status

	Not sure about this one...

		-Daz.

[0] http://dodgynet.dyndns.org/tinderbox/OpenSSH_Portable/status.html

-- 
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
Index: crc32.c
===================================================================
RCS file: /cvs/openssh/crc32.c,v
retrieving revision 1.7
diff -u -r1.7 crc32.c
--- crc32.c	24 Feb 2003 01:02:13 -0000	1.7
+++ crc32.c	24 Feb 2003 05:24:49 -0000
@@ -24,6 +24,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "includes.h"
 #include <sys/types.h>
 #include "crc32.h"
 


More information about the openssh-unix-dev mailing list