[MacPorts] #20926: hping2 fails to build on 10.6
MacPorts
noreply at macports.org
Sun Aug 30 08:20:53 PDT 2009
#20926: hping2 fails to build on 10.6
---------------------------------+------------------------------------------
Reporter: macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: 10.6 | Port: hping2
---------------------------------+------------------------------------------
{{{
---> Building hping2
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_hping2/work/hping2-rc3"
&& /usr/bin/make -j2 all " returned error 2
Command output: gcc -c -O2 -Wall -g antigetopt.c
gcc -c -O2 -Wall -g sockopt.c
gcc -c -O2 -Wall -g listen.c
gcc -c -O2 -Wall -g sendhcmp.c
gcc -c -O2 -Wall -g memstr.c
gcc -c -O2 -Wall -g rtt.c
gcc -c -O2 -Wall -g relid.c
gcc -c -O2 -Wall -g sendip_handler.c
gcc -c -O2 -Wall -g libpcap_stuff.c
libpcap_stuff.c: In function 'pcap_recv':
libpcap_stuff.c:61: warning: pointer targets in assignment differ in
signedness
gcc -c -O2 -Wall -g memlockall.c
gcc -c -O2 -Wall -g memunlockall.c
gcc -c -O2 -Wall -g memlock.c
gcc -c -O2 -Wall -g memunlock.c
gcc -c -O2 -Wall -g ip_opt_build.c
gcc -c -O2 -Wall -g display_ipopt.c
gcc -c -O2 -Wall -g sendrawip.c
gcc -c -O2 -Wall -g signal.c
gcc -c -O2 -Wall -g send.c
gcc -c -O2 -Wall -g strlcpy.c
gcc -c -O2 -Wall -g arsglue.c
In file included from ars.h:18,
from arsglue.c:5:
bytesex.h:22:3: error: #error can not find the byte order for this
architecture, fix bytesex.h
In file included from arsglue.c:5:
ars.h:180:2: error: #error "Please, edit Makefile and add
-DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
ars.h:244:2: error: #error "Please, edit Makefile and add
-DBYTE_ORDER_(BIG|LITTLE)_ENDIAN"
make: *** [arsglue.o] Error 1
make: *** Waiting for unfinished jobs....
Error: Status 1 encountered during processing.
}}}
The fix is to apply the attached patch to bytesex.h
--
Ticket URL: <http://trac.macports.org/ticket/20926>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list