'compiling' Category

  • Compiling tcpdstat on Mac OSX (quick fix)

    November 29, 2007

    Quick fix for compiling tcpdstat on Mac OSX (Leopard, although probably works for Tiger too). If you get this error: cc -I. -I../libpcap-0.7.1 -DLINUX -D__FAVOR_BSD -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -L../libpcap-0.7.1 -c stat.c cc -I. -I../libpcap-0.7.1 -DLINUX -D__FAVOR_BSD -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -L../libpcap-0.7.1 -c net_read.c net_read.c:74:1: warning: “__FAVOR_BSD” redefined <command line>:1:1: warning: this is the location of the previous definition […]

Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org