Unix Technical Forum

Problems with pf_table.c on sparc64 with gcc3

This is a discussion on Problems with pf_table.c on sparc64 with gcc3 within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Hi It seems that following change is necessery to build pf_table.c on sparc64 with gcc3. Index: pf_table.c ================================================== ================= ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 06:55 AM
Aleksander Piotrowski
 
Posts: n/a
Default Problems with pf_table.c on sparc64 with gcc3

Hi

It seems that following change is necessery to build pf_table.c on sparc64
with gcc3.

Index: pf_table.c
================================================== =================
RCS file: /cvs/src/sys/net/pf_table.c,v
retrieving revision 1.51
diff -u -r1.51 pf_table.c
--- pf_table.c 28 Apr 2004 03:31:33 -0000 1.51
+++ pf_table.c 28 Apr 2004 15:16:20 -0000
@@ -1941,7 +1941,6 @@
ke = NULL;
break;
#endif /* INET6 */
- default:
}
if ((ke == NULL || ke->pfrke_not) != notrule) {
if (op_pass != PFR_OP_PASS)

Without it, I've got following while building kernel.

/mnt/wd0i/src/sys/net/pf_table.c: In function `pfr_update_stats':
/mnt/wd0i/src/sys/net/pf_table.c:1945: warning: deprecated use of label at end of compound statement

Alek
--
Człowiek bardzo przypomina zabawkę - wirującego bąka, puszczanego w ruch
pociągnięciem sznurka. Kręci się i kręci, coraz wolniej i wolniej. Już ma
upaść, lecz wciąż, jakby wbrew naturze, robi kolejne obroty.
-- Ewa Białołęcka, Tkacz Iluzji

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com