Format of ld error message

Nick Roberts nickrob@snap.net.nz
Sun Mar 18 05:39:00 GMT 2007


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



More information about the Binutils mailing list