Subject: -current cross build fails for macppc
To: None <current-users@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 02/20/2005 06:28:14
Hello,

I got a error when cross building -current/macppc on -current/amd64.
amd64 native build and i386 cross build are fine.

#   compile  libpam/openpam_borrow_cred.ln
CC=/usr/tools/bin/powerpc--netbsd-gcc /usr/tools/bin/powerpc--netbsd-lint -chapbxzF -Sw -X 233 -d /work1/tmp/dest/usr/include  -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE -DDEBUG    -i /usr/src/dist/openpam/lib/openpam_borrow_cred.c
/usr/src/dist/openpam/lib/openpam_borrow_cred.c(75): warning: conversion to 'unsigned int' due to prototype, arg #2 [259]
=
*** Failed target:  openpam_borrow_cred.ln
*** Failed command: CC=/usr/tools/bin/powerpc--netbsd-gcc /usr/tools/bin/powerpc--netbsd-lint -chapbxzF -Sw -X 233 -d /work1/tmp/dest/usr/include -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE -DDEBUG -i /usr/src/dist/openpam/lib/openpam_borrow_cred.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libpam/libpam

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp