[MacPorts] #14204: Libnet fails to build on OSX 10.5.1
MacPorts
trac at macosforge.org
Wed Feb 6 21:49:44 PST 2008
#14204: Libnet fails to build on OSX 10.5.1
------------------------------+---------------------------------------------
Reporter: kung.foo at gmx.de | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: duplicate | Keywords:
------------------------------+---------------------------------------------
Changes (by jmpp at macports.org):
* milestone: => Port Bugs
Old description:
> System:
> Model Name: MacBook
> Model Identifier: MacBook3,1
> Processor Name: Intel Core 2 Duo
>
> ---> Building libnet with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libnet/work/Libnet-1.0.2a"
> && make all " returned error 2
> Command output: /usr/bin/gcc-4.0 -O2 -funroll-loops -fomit-frame-pointer
> -Wall -I/opt/local/include -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o
> src/libnet_insert_ipo.o
> In file included from src/../include/libnet.h:81,
> from src/libnet_insert_ipo.c:36:
> src/../include/./libnet/libnet-functions.h:500: warning: 'struct
> ipoption' declared inside parameter list
> src/../include/./libnet/libnet-functions.h:500: warning: its scope is
> only this definition or declaration, which is probably not what you want
> src/libnet_insert_ipo.c:39: warning: 'struct ipoption' declared inside
> parameter list
> src/libnet_insert_ipo.c:40: error: conflicting types for
> 'libnet_insert_ipo'
> src/../include/./libnet/libnet-functions.h:500: error: previous
> declaration of 'libnet_insert_ipo' was here
> src/libnet_insert_ipo.c: In function 'libnet_insert_ipo':
> src/libnet_insert_ipo.c:83: error: dereferencing pointer to incomplete
> type
> make: *** [src/libnet_insert_ipo.o] Error 1
>
> Error: The following dependencies failed to build: libnet libnids
> Error: Status 1 encountered during processing.
New description:
System:
{{{
Model Name: MacBook
Model Identifier: MacBook3,1
Processor Name: Intel Core 2 Duo
}}}
{{{
---> Building libnet with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libnet/work/Libnet-1.0.2a"
&& make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O2 -funroll-loops -fomit-frame-pointer
-Wall -I/opt/local/include -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o
src/libnet_insert_ipo.o
In file included from src/../include/libnet.h:81,
from src/libnet_insert_ipo.c:36:
src/../include/./libnet/libnet-functions.h:500: warning: 'struct ipoption'
declared inside parameter list
src/../include/./libnet/libnet-functions.h:500: warning: its scope is only
this definition or declaration, which is probably not what you want
src/libnet_insert_ipo.c:39: warning: 'struct ipoption' declared inside
parameter list
src/libnet_insert_ipo.c:40: error: conflicting types for
'libnet_insert_ipo'
src/../include/./libnet/libnet-functions.h:500: error: previous
declaration of 'libnet_insert_ipo' was here
src/libnet_insert_ipo.c: In function 'libnet_insert_ipo':
src/libnet_insert_ipo.c:83: error: dereferencing pointer to incomplete
type
make: *** [src/libnet_insert_ipo.o] Error 1
Error: The following dependencies failed to build: libnet libnids
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14204#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list