From: Johnn D. <jo...@no...> - 2007-03-05 20:49:31
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> The new compilers complain about empty case statements.<br> just put a<br> break;<br> after the empty case statements, mostly in the default case.<br> Note: you will also need in most cases to include some extra lines in atm.h<br> <br> when you get the error about undefined routines, search alltheweb.com or google and you will see emails about how to fix it.<br> <br> Johnn<br> <br> <br> <a class="moz-txt-link-abbreviated" href="mailto:lin...@li...">lin...@li...</a> wrote: <blockquote cite="mid...@li..." type="cite"> <pre wrap="">Send Linux-atm-general mailing list submissions to <a class="moz-txt-link-abbreviated" href="mailto:lin...@li...">lin...@li...</a> To subscribe or unsubscribe via the World Wide Web, visit <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/linux-atm-general">https://lists.sourceforge.net/lists/listinfo/linux-atm-general</a> or, via email, send a message with subject or body 'help' to <a class="moz-txt-link-abbreviated" href="mailto:lin...@li...">lin...@li...</a> You can reach the person managing the list at <a class="moz-txt-link-abbreviated" href="mailto:lin...@li...">lin...@li...</a> When replying, please edit your Subject line so it is more specific than "Re: Contents of Linux-atm-general digest..." Today's Topics: 1. Linux-atm-2.4.1: sapequal.c compile error (<a class="moz-txt-link-abbreviated" href="mailto:Kok...@in...">Kok...@in...</a>) 2. Re: Linux-atm-2.4.1: sapequal.c compile error (Mike Westall) ---------------------------------------------------------------------- Message: 1 Date: Mon, 5 Mar 2007 17:50:50 +0800 From: <a class="moz-txt-link-rfc2396E" href="mailto:Kok...@in..."><Kok...@in...></a> Subject: [Linux-ATM-General] Linux-atm-2.4.1: sapequal.c compile error To: <a class="moz-txt-link-rfc2396E" href="mailto:lin...@li..."><lin...@li...></a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:504...@si..."><504...@si...></a> Content-Type: text/plain; charset="us-ascii" Hi; gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.lo sapequal.c: In function 'match_blli': sapequal.c:68: error: label at end of compound statement sapequal.c:86: error: label at end of compound statement make[3]: *** [sapequal.lo] Error 1 make[3]: Leaving directory `/usr/src/user/linux-atm-2.4.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/user/linux-atm-2.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/user/linux-atm-2.4.1' make: *** [all-recursive-am] Error 2 [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 17]# [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 17]# gcc --version gcc (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0-4) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 18]# [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 18]# make --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 19]# Any insight is appreciated. Best Regards, Kok How ------------------------------ Message: 2 Date: Mon, 05 Mar 2007 09:06:40 -0500 From: Mike Westall <a class="moz-txt-link-rfc2396E" href="mailto:we...@cs..."><we...@cs...></a> Subject: Re: [Linux-ATM-General] Linux-atm-2.4.1: sapequal.c compile error To: <a class="moz-txt-link-abbreviated" href="mailto:Kok...@in...">Kok...@in...</a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:lin...@li...">lin...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:45E...@cs..."><45E...@cs...></a> Content-Type: text/plain; charset=us-ascii; format=flowed It is well known that gcc 4.0 will NOT compile Linux ATM 2.4.1 Possible solutions: (1) Patch up Linux ATM 2.4.1 yourself (2) Get newer version of Linux- ATM from source forge (3) Find older Linux system and compile there <a class="moz-txt-link-abbreviated" href="mailto:Kok...@in...">Kok...@in...</a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi; gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.lo sapequal.c: In function 'match_blli': sapequal.c:68: error: label at end of compound statement sapequal.c:86: error: label at end of compound statement make[3]: *** [sapequal.lo] Error 1 make[3]: Leaving directory `/usr/src/user/linux-atm-2.4.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/user/linux-atm-2.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/user/linux-atm-2.4.1' make: *** [all-recursive-am] Error 2 [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 17]# [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 17]# gcc --version gcc (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0-4) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 18]# [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 18]# make --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [<a class="moz-txt-link-abbreviated" href="mailto:root@danube:/usr/src/user/linux-atm-2.4.1">root@danube:/usr/src/user/linux-atm-2.4.1</a> 19]# Any insight is appreciated. Best Regards, Kok How ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash <a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a> _______________________________________________ Linux-atm-general mailing list <a class="moz-txt-link-abbreviated" href="mailto:Lin...@li...">Lin...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/linux-atm-general">https://lists.sourceforge.net/lists/listinfo/linux-atm-general</a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash <a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a> ------------------------------ _______________________________________________ Linux-atm-general mailing list <a class="moz-txt-link-abbreviated" href="mailto:Lin...@li...">Lin...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/linux-atm-general">https://lists.sourceforge.net/lists/listinfo/linux-atm-general</a> End of Linux-atm-general Digest, Vol 10, Issue 3 ************************************************ </pre> </blockquote> <br> </body> </html> |