Here is what i got when try to build today using misc/build.sh and mk- mini.conf, while using standard procedure, as the one on faq5.html, the build goes fine. Regards ===> usr.bin/ssh/ssh cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/ssh.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/readconf.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/clientloop.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshtty.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshconnect.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshconnect1.c cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -Wall -Wpointer-arith -Wno- uninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign- compare -Wbounded -Wshadow -nostdinc -idirafter /data/flash- live/usr/include -c /usr/src/usr.bin/ssh/sshconnect2.c /usr/src/usr.bin/ssh/sshconnect2.c: In function `ssh_keysign'': /usr/src/usr.bin/ssh/sshconnect2.c:1244: warning: implicit declaration of function `pipe'' /usr/src/usr.bin/ssh/sshconnect2.c:1252: warning: implicit declaration of function `fork'' /usr/src/usr.bin/ssh/sshconnect2.c:1257: warning: implicit declaration of function `getuid'' /usr/src/usr.bin/ssh/sshconnect2.c:1258: warning: implicit declaration of function `close'' /usr/src/usr.bin/ssh/sshconnect2.c:1259: warning: implicit declaration of function `dup2'' /usr/src/usr.bin/ssh/sshconnect2.c:1259: error: `STDOUT_FILENO'' undeclared (first use in this function) /usr/src/usr.bin/ssh/sshconnect2.c:1259: error: (Each undeclared identifier is reported only once /usr/src/usr.bin/ssh/sshconnect2.c:1259: error: for each function it appears in.) /usr/src/usr.bin/ssh/sshconnect2.c:1262: error: `STDIN_FILENO'' undeclared (first use in this function) /usr/src/usr.bin/ssh/sshconnect2.c:1266: warning: implicit declaration of function `execl'' *** Error code 1 Stop in /usr/src/usr.bin/ssh/ssh. *** Error code 1 Stop in /usr/src/usr.bin/ssh. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src (line 73 of Makefile). -- Massimo.run();
On Thu, Jul 20, 2006 at 04:09:47PM +0200, Massimo Lusetti wrote: : /usr/src/usr.bin/ssh/sshconnect2.c:1266: warning: implicit declaration : of function `execl'' : *** Error code 1 I missed some some needed #include <unistd.h> when KERBEROS5=no. Fixed in OpenBSD CVS now.
On Thu, 2006-07-20 at 08:30 -0700, Kevin Steves wrote:> On Thu, Jul 20, 2006 at 04:09:47PM +0200, Massimo Lusetti wrote: > : /usr/src/usr.bin/ssh/sshconnect2.c:1266: warning: implicit declaration > : of function `execl'' > : *** Error code 1 > > I missed some some needed #include <unistd.h> when KERBEROS5=no. > > Fixed in OpenBSD CVS now.Thanks very much! -- Massimo.run();