Re: Unidentified subject!
On Sun, Feb 18, 2001 at 02:37:00PM -0500, Chris Ruffin wrote:
> Now, sysdep-os.h defines in_port_t with:
> typedef u_int16_t in_port_t;
> typedef u_int32_t in_addr_t;
> but /usr/include/netinet/in.h defines it as:
> typedef uint16_t in_port_t;
> typedef uint32_t in_addr_t;
> If I change the defines in sysdep-os.h from u_int16_t to uint16_t and
> u_int32_t to uint32_t, I get the following:
The error you gave implies: uint16_t was not declared, just u_int16_t.
(Same for *32_t.)
You've got a choice:
1) Just stick with the current way of things and ignore the GCC
warnings "in_port_t redeclared". Note how GCC only outputs a *warning*
and not an error, which means that everything will /probably/ work
2) Try the command
egrep -rn 'u_int(16|32)_t' /home/ruff/debian/isakmpd
and replace *all* occurrences of "u_int" with "uint".
Personally, I wouldn't bother, and ignore the warnings.
|_) /| Richard Atterer | CS student at the Technische | GPG key:
| \/¯| http://atterer.net | Universität München, Germany | 888354F7
¯ ´` ¯