Subject: Re: build (compiling libpam) fails
To: None <current-users@netbsd.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: current-users
Date: 10/10/2005 12:58:39
I have no idea what's wrong here... I just haven't been
able to compile the current for some time.

# rm -rf /usr/obj/*
# cd /usr/src
# cvs -q update -dPA
# ./build.sh -x distribution
...
...
...
#   compile  libpam/openpam_get_option.ln
CC=/usr/obj/tools/bin/i386--netbsdelf-gcc /usr/obj/tools/bin/i386--netbsdelf-lin
t -chapbxzF -Sw -X 233 -d /usr/obj/usr/src/destdir.i386/usr/include  -DLIB_MAJ=0
  -DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE    -i /usr/src/dist/openpam/li
b/openpam_get_option.c
/usr/src/dist/openpam/lib/openpam_get_option.c(68): syntax error [249]
/usr/src/dist/openpam/lib/openpam_get_option.c(71): warning: function openpam_ge
t_option falls off bottom without returning value [217]

*** Failed target:  openpam_get_option.ln
*** Failed command: CC=/usr/obj/tools/bin/i386--netbsdelf-gcc /usr/obj/tools/bin
/i386--netbsdelf-lint -chapbxzF -Sw -X 233 -d /usr/obj/usr/src/destdir.i386/usr/
include -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES -DOPENPAM_STATIC_MODULE -i /usr/src
/dist/openpam/lib/openpam_get_option.c
*** Error code 1

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