Net-tools 1.60 compile error
Posted: Wed Aug 17, 2005 12:11 am
[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.
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.