This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Format of ld error message
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: binutils at sourceware dot org
- Date: Sun, 18 Mar 2007 17:38:53 +1200
- Subject: Format of ld error message
I might have got the wrong end of the stick/mailing list.
The following error message doesn't get parsed correctly by Emacs because it
apparently doesn't follow the GNU standard:
myprint.o: In function `myprint':/home/nickrob/myprint.c:27: undefined reference to `mysquare6'
The manual says:
Error messages from other noninteractive programs should look like
this:
PROGRAM:SOURCE-FILE-NAME:LINENO: MESSAGE
A message like:
myprint.o:/home/nickrob/myprint.c:27: undefined reference to `mysquare6' in function `myprint'
seems to work.
--
Nick http://www.inet.net.nz/~nickrob