Subject: Re: Compiling problems with 1.4Y
To: Rick Copeland <rickgc@calweb.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-vax
Date: 06/12/2000 12:38:10
On Fri, Jun 09, 2000 at 12:07:36AM -0700, Rick Copeland wrote:
> At 02:41 PM 6/11/00 +0200, Manuel Bouyer wrote:
> >On Thu, Jun 08, 2000 at 09:46:24AM -0700, Rick Copeland wrote:
> >> I have attempted to compile both a new Kernel and Samba.  The process gets
> >> almost all the way through make and ends with "Error Code 1" and the next
> >> line says "STOP".  Is this a config problem?
> >
> >What are the error messages before this ?
> >
> Have a look:
> 
> trillion# make
> Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb"
> -DNMBLOGFILE="/usr
> /local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
> -DLMHOSTS
> FILE="/usr/local/samba/lib/lmhosts" -DWEB_ROOT="/usr/local/samba"
> -DLOCKDIR="/us
> r/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun"
> -DCODEPAGEDIR="/
> usr/local/samba/lib/codepages" -DWORKGROUP="WORKGROUP"
> -DGUEST_ACCOUNT="nobody"
> -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DNETBSD -DSHADOW_PWD
> -DUFC_CRY
> PT -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES
> -DSMB_PASSWD="/usr/local/sa
> mba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
> Using LIBS =  -lcrypt
> Compiling util.c
> Compiling system.c
> Compiling charset.c
> Compiling kanji.c
> Compiling fault.c
> Compiling smbencrypt.c
> Compiling smbdes.c
> Compiling charcnv.c
> Compiling md4.c
> Compiling loadparm.c
> Compiling params.c
> Compiling pcap.c
> Compiling username.c
> Compiling time.c
> Compiling namequery.c
> Compiling nmblib.c
> Compiling interface.c
> Compiling replace.c
> Compiling print_svid.c
> Compiling smberr.c
> Compiling mem_man/mem_man.c
> Compiling slprintf.c
> Compiling trans2.c
> Compiling message.c
> Compiling dir.c
> Compiling printing.c
> Compiling ipc.c
> ipc.c: In function `api_RNetServerEnum':
> ipc.c:1194: warning: passing arg 4 of `qsort' from incompatible pointer type
> Compiling reply.c
> Compiling mangle.c
> Compiling chgpasswd.c
> chgpasswd.c: In function `dochild':
> chgpasswd.c:104: storage size of `stermios' isn't known
> chgpasswd.c:171: `ECHO' undeclared (first use in this function)
> chgpasswd.c:171: (Each undeclared identifier is reported only once
> chgpasswd.c:171: for each function it appears in.)
> chgpasswd.c:171: `ECHOE' undeclared (first use in this function)
> chgpasswd.c:171: `ECHOK' undeclared (first use in this function)
> chgpasswd.c:171: `ECHONL' undeclared (first use in this function)
> chgpasswd.c:172: `ICANON' undeclared (first use in this function)
> chgpasswd.c:173: `ONLCR' undeclared (first use in this function)
> chgpasswd.c:174: `TCSANOW' undeclared (first use in this function)
> *** Error code 1

Look like in has problems with curses. I'll look at this when my box is
upgraded to a recent current.

> 
> Stop.
> trillion#
> 
> The above was an attempt to compile Samba, it does the same when I try to
> compile a new kernel except it takes 8.5 hours instead of 1.25.

It certainly doesn't die the same way, the kernel doesn't use curses.
Or you sources are severly corrupted.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--