On Mar 13, 2006, at 5:34 PM, alexander venzke wrote:

Hi folks,
since I didn't found anything related on the list, I might let you know that libnids-1.18-3 failed on mac os x 10.4 intel. I'd like to install dsniff.

The exact state:
gcc -c -g -O2 -D_BSD_SOURCE -Wall -DLIBNET_VER=0 -DHAVE_ICMPHDR=0
-DHAVE_TCP_STATES=0 -DHAVE_BSD_UDPHDR=1 -I. -I/sw/include -I/sw/ include
-DLIBNET_LIL_ENDIAN checksum.c
checksum.c: In function 'my_tcp_check':
checksum.c:180: warning: pointer targets in passing argument 1 of 'csum_partial'
differ in signedness
checksum.c: In function 'my_udp_check':
checksum.c:186: warning: pointer targets in passing argument 1 of 'csum_partial'
differ in signedness
checksum.c: In function 'csum_partial':
checksum.c:25: error: PIC register 'bx' clobbered in 'asm'
make[1]: *** [checksum.o] Error 1
make: *** [static] Error 2
### execution of make failed, exit code 2

If you have hints, or are already working on this issue I would be delighted to read those or if you need further information. This matter is not urgent, I know we are in the process of getting the things running .. and I am already amazed
about how much is actually working flawlessly on mac intel.

thx.
alex venzke

I've patched this in 10.4/unstable to use generic C code instead of x86 assembly--it now builds successfully.

I'm really starting to hate x86 assembly...

--
Daniel Johnson
[EMAIL PROTECTED]
PGP public key: http://homepage.mac.com/danielj7/publickey.txt

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to