Subject: Re: libpam cross build.sh (on i386) for sparc64 fails
To: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 12/30/2004 17:21:12
On Thu, Dec 30, 2004 at 01:17:14PM +0100, Markus W Kilbinger wrote:
>
> #   compile  libpam/openpam_log.ln
> CC=/usr/toolchain-sparc64/bin/sparc64--netbsd-gcc
> /usr/toolchain-sparc64/bin/sparc64--netbsd-lint -chapbxzF -Sw -X 233
> -d /usr/sparc64-dest/usr/include  -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES
> -DOPENPAM_STATIC_MODULE    -i /usr/src/dist/openpam/lib/openpam_log.c
> /usr/src/dist/openpam/lib/openpam_log.c(81): warning: expression has
> null effect [129]

Same message on alpha (i386 cross-build):

#   compile  libpam/openpam_log.ln
CC=/local/src/NetBSD/tool/alpha/bin/alpha--netbsd-gcc /local/src/NetBSD/tool/alpha/bin/alpha--netbsd-lint -chapbxzF -Sw -X 233 -d /local/src/NetBSD/dest/alpha/usr/include  -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE    -i /local/src/NetBSD/src/dist/openpam/lib/openpam_log.c
/local/src/NetBSD/src/dist/openpam/lib/openpam_log.c(81): warning: expression has null effect [129]

But got another one on amd64 (native build):

#   compile  libpam/openpam_log.ln
CC=/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc /local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-lint -chapbxzF -Sw -X 233 -d /local/src/NetBSD/dest/amd64/usr/include  -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE    -i /local/src/NetBSD/src/dist/openpam/lib/openpam_log.c
/local/src/NetBSD/src/dist/openpam/lib/openpam_log.c(81): warning: illegal combination of pointer and integer, op = [123]

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.