delorie.com/archives/browse.cgi | search |
From: | Branka Valentincic <Branka DOT Valentincic AT interblod DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | YABQ: yet another beginner question |
Date: | Sun, 10 Oct 1999 12:59:56 +0100 |
Organization: | PRIMIT d.o.o. |
Lines: | 30 |
Message-ID: | <38007FBC.2F68@interblod.com> |
NNTP-Posting-Host: | dpgp4.uni-mb.si |
Mime-Version: | 1.0 |
X-Trace: | strelovod.uni-mb.si 939553038 216 164.8.3.4 (10 Oct 1999 10:57:18 GMT) |
X-Complaints-To: | news AT uni-mb DOT si |
NNTP-Posting-Date: | 10 Oct 1999 10:57:18 GMT |
Cc: | meolic AT uni-mb DOT si |
X-Mailer: | Mozilla 3.04 (Win95; I) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi! I am porting a C program from Unix to Windows 95. I have instaled DJGPP in directory D:\djgpp. Compiler produce no errors. But I have problems with linking: ---- Makefile ----- est: estMain.o estTcl.o gcc -g -I/tcl/include -o est estMain.o estTcl.o\ /Tcl/lib/tcl81.lib /Tcl/lib/tk81.lib -lm ------------------- ----- output ------ d:/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to `main' d:/djgpp/lib/libc.a(crt1.o)(.text+0x446):crt1.c: undefined reference to `main' d:/djgpp/bin/ld.exe: bfd assertion fail /n/tmp/gnu/binutl-2.81/bfd/coff-i386.c:371 d:/djgpp/bin/ld.exe: bfd assertion fail /n/tmp/gnu/binutl-2.81/bfd/coff-i386.c:371 d:/djgpp/bin/ld.exe: bfd assertion fail /n/tmp/gnu/binutl-2.81/bfd/coff-i386.c:371 d:/djgpp/bin/ld.exe: bfd assertion fail /n/tmp/gnu/binutl-2.81/bfd/coff-i386.c:371 make.exe: *** [est] Error 1 -------------------- Please, can anybody explain me these errors? Best regards, Robert (meolic AT uni-mb DOT si)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |