ftp.delorie.com/archives/browse.cgi | search |
From: | murray AT southeast DOT net (Murray Stokely) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: makefile problems |
Date: | Mon, 23 Dec 1996 20:48:39 GMT |
Organization: | ACiD Productions |
Lines: | 44 |
Message-ID: | <32beeffe.137156827@nntp.southeast.net> |
References: | <32be3881 DOT 90176573 AT nntp DOT southeast DOT net> |
Reply-To: | murray AT southeast DOT net |
NNTP-Posting-Host: | ts2-016.southeast.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Ok I found the problem below was because dos edit inserts 8 spaces instead of a tab char when you press <tab> but i'm still getting an error. Can anyone tell me what this means? d:/djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to `main' d:/djgpp/lib/libc.a(crt1.o)(.text+0x312):crt1.c: undefined reference to `main' make.exe: *** [bth6] Error 1 On Mon, 23 Dec 1996 07:45:08 GMT, murray AT southeast DOT net (Murray Stokely) wrote: >Whats wrong with this makefile? It gives me an error around the >compile action of the bth6 target > ># V A R I A B L E S ># ----------------------------- > >CC = gcc >CFLAGS = -g -O2 >OBJECTS = sb_vesa.o sb_menu.o sb_misc.o sb_scrol.o sb_write.o > ># T A R G E T S ># ----------------------------- > >bth6 : $(OBJECTS) > $(CC) -o bth6 $(OBJECTS) > >sb_vesa.o : bth6.h >sb_menu.o : bth6.h >sb_misc.o : bth6.h >sb_scrol.o : bth6.h >sb_write.o : bth6.h > >.PHONY : clean >clean : > del *.o > >Murray Stokely ( murray AT southeast DOT net ) >http://www.cdrom.com/pub/artpacks Murray Stokely ( murray AT southeast DOT net ) http://www.cdrom.com/pub/artpacks
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |