[ale] ASH install problems
Randy Janinda
randy.janinda at ndcorp.com
Wed Jun 14 16:46:10 EDT 2000
I can't seem to get ash to install. The specifics:
cd bltin; make 'CC=gcc' 'DEBUG=-g'
make[1]: Entering directory `/home/software/Distro/Base/ash/bltin'
gcc -DSHELL -g -c catf.c
catf.c: In function `catfcmd':
catf.c:31: `BSIZE' undeclared (first use in this function)
catf.c:31: (Each undeclared identifier is reported only once
catf.c:31: for each function it appears in.)
catf.c:46: warning: passing arg 1 of `longjmp' from incompatible pointer type
make[1]: *** [catfcmd.o] Error 1
make[1]: Leaving directory `/home/software/Distro/Base/ash/bltin'
make: *** [make_bltin] Error 2
Here's a snippet from the problem source:
#ifdef SBUFSIZE
#define BUFSIZE() SBUFSIZE
#else
#ifdef MAXBSIZE
#define BUFSIZE() MAXBSIZE
#else
#define BUFSIZE() BSIZE
#endif
#endif
main(argc, argv) char **argv; {
char *filename;
char *buf = stalloc(BUFSIZE()); /* This is line 31*/
int fd;
int i;
#ifdef SHELL
I don't speak C so any help is appreciated.
Randy
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list