Date: Wed, 16 May 2012 16:47:16 GMT From: Oliver Hartmann <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/167972: benchmarks/netperf: (CLANG) netlib.c:1154:1: error: conflicting types for 'stop_timer' stop_timer() Message-ID: <201205161647.q4GGlGp3012728@red.freebsd.org> Resent-Message-ID: <201205161650.q4GGo1im039075@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167972 >Category: ports >Synopsis: benchmarks/netperf: (CLANG) netlib.c:1154:1: error: conflicting types for 'stop_timer' stop_timer() >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 16 16:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 >Organization: FU Berlin >Environment: >Description: Compiling port benchmarks/netperf with CLANG on FreeBSD 10.0 CURRENT stops with the strange error as showed below. ===> Building for netperf-2.5.0_2 /usr/bin/make all-recursive Making all in src Making all in missing Making all in m4 clang -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing -march=native -MT netperf.o -MD -MP -MF .deps/netperf.Tpo -c -o netperf.o netperf.c mv -f .deps/netperf.Tpo .deps/netperf.Po clang -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing -march=native -MT netlib.o -MD -MP -MF .deps/netlib.Tpo -c -o netlib.o netlib.c netlib.c:925:7: warning: implicit declaration of function 'stop_timer' is invalid in C99 [-Wimplicit-function-declaration] stop_timer(); ^ netlib.c:1154:1: error: conflicting types for 'stop_timer' stop_timer() ^ netlib.c:925:7: note: previous implicit declaration is here stop_timer(); ^ 1 warning and 1 error generated. *** [netlib.o] Error code 1 Stop in /usr/ports/benchmarks/netperf/work/netperf-2.5.0/src. *** [all-recursive] Error code 1 Stop in /usr/ports/benchmarks/netperf/work/netperf-2.5.0/src. *** [all-recursive] Error code 1 Stop in /usr/ports/benchmarks/netperf/work/netperf-2.5.0. *** [all] Error code 1 Stop in /usr/ports/benchmarks/netperf/work/netperf-2.5.0. *** [do-build] Error code 1 Stop in /usr/ports/benchmarks/netperf. *** [build] Error code 1 Stop in /usr/ports/benchmarks/netperf. ===>>> make failed for benchmarks/netperf ===>>> Aborting update ===>>> Update for benchmarks/netperf failed ===>>> Aborting update Terminated >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205161647.q4GGlGp3012728>