• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Cannot add rules with 11/11 snap

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
9 Posts 3 Posters 2.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jlepthien
    last edited by Nov 12, 2010, 7:17 AM Nov 11, 2010, 8:15 PM

    Hi there,

    when I try adding a rule on my nanoBSD snap I get the following error:

    Fatal error: Cannot redeclare filtercmp() (previously declared in /usr/local/www/guiconfig.inc:467) in /usr/local/www/guiconfig.inc on line 467

    Any info on that?

    Thanks

    | apple fanboy | music lover | network and security specialist | in love with cisco systems |

    1 Reply Last reply Reply Quote 0
    • E
      Efonnes
      last edited by Nov 11, 2010, 9:31 PM

      The builder must have picked that up during the time between two of my commits.  It was fixed already before that image was even done.

      The problem on that line is the function declared inside of a function (wasn't me who did that :) ).  Apparently that makes it try to declare the function each time you call the one that contains it.  This wasn't originally an issue because it wasn't ever being called more than once.  I solved it by moving the inner function outside of the other function.

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by Nov 12, 2010, 7:17 AM Nov 11, 2010, 9:33 PM

        Okay. So I'll have to wait for the next build?

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes
          last edited by Nov 11, 2010, 9:41 PM

          Either that or manually fix it.

          1 Reply Last reply Reply Quote 0
          • V
            videoman
            last edited by Nov 12, 2010, 12:21 AM

            Using pfSense-2.0-BETA4-1g-20101111-0255 getting the same error, will this be fixed in the next nightly build?

            "Fatal error: Cannot redeclare filtercmp() (previously declared in /usr/local/www/guiconfig.inc:467) in /usr/local/www/guiconfig.inc on line 467 "

            1 Reply Last reply Reply Quote 0
            • E
              Efonnes
              last edited by Nov 12, 2010, 1:21 AM

              It was already fixed long before that build was finished, but it only picks up the code from the source code server at the beginning of the build process.  Yes, it will be fixed in the next build.

              1 Reply Last reply Reply Quote 0
              • J
                jlepthien
                last edited by Nov 12, 2010, 7:16 AM

                Sorry for the confusion guys. My built also was 11/11. I do not know why I posted it as 11/9….

                | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                1 Reply Last reply Reply Quote 0
                • E
                  Efonnes
                  last edited by Nov 12, 2010, 9:05 AM

                  ok, the next snapshot is up and this should be fixed on there.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jlepthien
                    last edited by Nov 12, 2010, 9:07 AM

                    Yep. Already installed it @home.

                    Thanks.

                    | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received