Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 08:46:07 GMT
From:      Kuhn Frédéric <kuhn.frederic@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/180227: net/libnet/ doesn't build with any options checked
Message-ID:  <201307030846.r638k7NW023363@oldred.freebsd.org>
Resent-Message-ID: <201307030850.r638o0Nm091263@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180227
>Category:       misc
>Synopsis:       net/libnet/ doesn't build with any options checked
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 03 08:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kuhn Frédéric
>Release:        FreeBSD 9.1
>Organization:
>Environment:
FreeBSD phantum 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Fri Jun 21 12:06:49 CEST 2013     root@phantum:/usr/obj/usr/src/sys/OTHALIA  i386
>Description:
This port doesn't build when any of the option is checked. The kernel is build with PF support and here is the output when I tryied to build it with PF support :
===>  Building for libnet11-1.1.6_1,1
Making all in include
make  all-recursive
Making all in libnet
Making all in win32
Making all in src
/bin/sh /usr/local/bin/libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I../include -I../include     -O2 -pipe -fPIC -fno-strict-aliasing -std=gnu89 -c -o libnet_link_pf.lo libnet_link_pf.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -fPIC -fno-strict-aliasing -std=gnu89 -c libnet_link_pf.c  -fPIC -DPIC -o .libs/libnet_link_pf.o
libnet_link_pf.c:36:35: error: ../include/low_libnet.h: No such file or directory
libnet_link_pf.c:44: error: expected ')' before '*' token
libnet_link_pf.c:62:23: warning: unknown escape sequence '\y'
libnet_link_pf.c: In function 'libnet_close_link_interface':
libnet_link_pf.c:137: error: dereferencing pointer to incomplete type
libnet_link_pf.c: At top level:
libnet_link_pf.c:151: error: expected ';', ',' or ')' before '*' token
*** [libnet_link_pf.lo] Error code 1

Stop in /usr/ports/net/libnet/work/libnet-1.1.6/src.
*** [all-recursive] Error code 1

Stop in /usr/ports/net/libnet/work/libnet-1.1.6.
*** [do-build] Error code 1

Stop in /usr/ports/net/libnet.
*** [install] Error code 1

Stop in /usr/ports/net/libnet.


>How-To-Repeat:
Check one of the options and try to build it. 
>Fix:
Uncheck all the options and it builds.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307030846.r638k7NW023363>