Opened 15 years ago
Closed 15 years ago
#20926 closed defect (fixed)
hping2 fails to build on 10.6
Reported by: | macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | 10.6 | Cc: | |
Port: | hping2 |
Description
---> 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
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Add x86_64 support to bytesex.h