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.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset [210].