compile issue / Mac OS X Yosemite 10.10.5
- Dominant language
- C
- Stars
- 1.7k
- Forks
- 364
- PR merge metrics
- No merged PRs in 30d
Description
I'll admit, i'm not a coder nor a programmer. Came across this error trying to install hping from the github set of files, specifically following the INSTALLATION instructions. Anything jump out? Looks like a great tool, wanted to play with it.
#
sh-3.2# ./configure
build byteorder.c...
byteorder.c:86:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
printf("sizeof(unsigned int) = %d\n", sizeof(unsigned int));
~~ ^~~~~~~~~~~~~~~~~~~~
%lu
1 warning generated.
## create byteorder.h...
system type: DARWIN
LIMITWHENSUID: -DLIMITWHENSUID
FORCE_LIBPCAP:
HAVE_PROC :
LIBPCAP : PCAP=libpcap/libpcap.a
PCAP_INCLUDE : -I./libpcap
MANPATH : /usr/local/man
## (to modify try configure --help)
creating Makefile...
now you can try `make'
sh-3.2# make --ok, so I continue on. Why not??
gcc -c -O2 -Wall -I./libpcap -g -DLIMITWHENSUID getlhs.c
getlhs.c:145:2: error: expected expression
else if ( strstr(ifname, "lo") )
^
1 error generated.
make: **\* [getlhs.o] Error 1
sh-3.2# make install ---eh, nothing to lose, so I tried.
gcc -c -O2 -Wall -I./libpcap -g -DLIMITWHENSUID getlhs.c
getlhs.c:145:2: error: expected expression
else if ( strstr(ifname, "lo") )
^
1 error generated.
make: **\* [getlhs.o] Error 1
sh-3.2#
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.