Opened 16 years ago

Closed 16 years ago

#136 closed defect (fixed)

compile fails on ubuntu 8.04 with --enable-port-check --enable-static

Reported by: rainer Owned by: rainer
Priority: major Milestone:
Component: main Version: 2.5.2
Keywords: Cc:

Description

The reported error:

x_sh_portcheck.c: In function sh_portchk_init_internal:
x_sh_portcheck.c:951: warning: implicit declaration of function sh_gethostbyname
x_sh_portcheck.c:951: warning: assignment makes pointer from integer without a cast
At top level:
cc1: error: unrecognized command line option "-Wno-empty-body"

The SH_NEED_GETHOSTBYXXX define is missing before sh_static.h is included. Moreover a bug in the compiler suite turns the warning into an error. We need to eliminate warnings; turn on -Werror in the compile regression testsuite.

Change History (1)

comment:1 by rainer, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset [210].

Note: See TracTickets for help on using tickets.