Net-tools 1.60 compile error

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
gilthanaz
Site Admin
Posts: 444
Joined: Fri Aug 29, 2003 9:29 pm
Contact:

Net-tools 1.60 compile error

Post 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.
gilthanaz
Site Admin
Posts: 444
Joined: Fri Aug 29, 2003 9:29 pm
Contact:

More Information

Post 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.
Post Reply