Page 1 of 1

Net-tools 1.60 compile error

Posted: Wed Aug 17, 2005 12:11 am
by gilthanaz
[Problem]
When trying to compile net-tools 1.60 with GCC 3.4.1, you probably get:
inet_sr.c:108: error: label at end of compound statement

[Solution]
Make a copy of the file and edit /lib/inet_sr.c and add a "break;" between "default:" and the closing "}", because the new gcc doesn´t like to have nothing there.

More Information

Posted: Wed Aug 17, 2005 12:15 am
by gilthanaz
You can fix several problems when compiling this package the way described above, just in different sourcefiles. Just check the line number in the error message.