Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] wireshark-0.99.7 build stopped under HP-UX 11.11

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Falk Hayn" <falk.hayn@xxxxxx>
Date: Thu, 03 Jan 2008 13:37:17 +0100

Dear Ladies and Sirs,

the build of wireshark-0.99.7 stopped under HP-UX 11.11

Root cause:
~~~~~~~~~~~
Within privileges.c, the right API calls  will be selected 
<SNIP>
#ifdef HAVE_SETRESGID
                setresgid(rgid, rgid, rgid);
#else
                setgid(rgid);
                setegid(rgid);
#endif

#ifdef HAVE_SETRESUID
                setresuid(ruid, ruid, ruid);
#else
                setuid(ruid);
                seteuid(ruid);
#endif
        }
}
</SNIP>

but the macros HAVE_SETRESUID and HAVE_SETRESGID never were definend.

HP-UX need the old style API calls  setresgid and setresuid.


Workaround:
~~~~~~~~~~~
define the macros brute force at the end of privileges.h
<SNIP>

#define HAVE_SETRESGID
#define HAVE_SETRESUID

</SNIP>

--> build will complete
-- 
Do not hesitate to contact me if You have further questions.

With kind regards 
Falk Hayn

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

  • Follow-Ups:
    • Re: [Wireshark-dev] wireshark-0.99.7 build stopped under HP-UX 11.11
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] Compilation error in asn.1 file
  • Next by Date: [Wireshark-dev] where guint is defined in FreeBSD
  • Previous by thread: Re: [Wireshark-dev] Compilation error in asn.1 file
  • Next by thread: Re: [Wireshark-dev] wireshark-0.99.7 build stopped under HP-UX 11.11
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation