luis@RICE.EDU (Luis Soltero) (03/08/91)
i would like to run mh w/ sendmail/smtp and NO pop and NO bboards. here is my MH config file bin /usr/local/mh bboards off bbdelivery off ranlib off etc /usr/local/lib/mh mail /usr/mail mandir /usr/local/man manuals local pop off mts sendmail/smtp options SYS5 DUMB BIND MORE='"/usr/bsd/more"' SOCKETS TYPESIG='void' cc cc ccoptions curses -ltermlib ldoptlibs -lsun -lbsd sprintf int and here are some of the errors i get when i try to compile mh. cc -DSYS5 -DDUMB -DBIND -DMORE='"/usr/bsd/more"' -DSOCKETS -DTYPESIG='vo id' -DSENDMTS -DSMTP -DSPRINTFTYPE=int -I.. mts.c -o mts /usr/bin/ld: Undefined: main cc -DSYS5 -DDUMB -DBIND -DMORE='"/usr/bsd/more"' -DSOCKETS -DTYPESIG='vo id' -DSENDMTS -DSMTP -DSPRINTFTYPE=int -I.. client.c -o client /usr/bin/ld: Undefined: main servers *** Error code 1 cc -DSYS5 -DDUMB -DBIND -DMORE='"/usr/bsd/more"' -DSOCKETS -DTYPESIG='vo id' -DSENDMTS -DSMTP -DSPRINTFTYPE=int -I. -c mts/mts.c ld -x -r mts/mts.o ld: Can't open: mts/mts.o (No such file or directory) ld: Usage: ld [options] file [...] *** Error code 1 (ignored) mv a.out mts/mts.o mv: a.out: No such file or directory. *** Error code 2 Can't open: mts/lock.o (No such file or directory) ld: Usage: ld [options] file [...] *** Error code 1 (ignored) mv a.out mts/lock.o mv: a.out: No such file or directory. id' -DSENDMTS -DSMTP -DSPRINTFTYPE=int -I. -c mts/client.c ld -x -r mts/client.o ld: Can't open: mts/client.o (No such file or directory) ld: Usage: ld [options] file [...] *** Error code 1 (ignored) mv a.out mts/client.o mv: a.out: No such file or directory. *** Error code 2 `all' not remade because of errors Make: Don't know how to make ../zotnet/libzot. a. Stop. *** Error code 1 Stop. can someone out there tell me what i am doing wrong. thanks, --luis arpa: luis@rice.edu
jromine@buckaroo.ics.uci.edu (John Romine) (03/08/91)
luis@RICE.EDU (Luis Soltero) writes: > cc ... -I.. mts.c -o mts >/usr/bin/ld: >Undefined: >main It appears that your "make" is trying to compile these ".c" files into executables, instead of ".o" files. Perhaps the man page for "make" on your system would offer a work-around. There were some changes in the MH 6.7 Makefiles to work-around this problem on most systems. Since you've already got MH 6.7, there's not much I can suggest for you besides complaining to your vendor. -- John Romine