[avahi] cool debug trap

Lennart Poettering lennart at poettering.net
Sun Aug 27 15:11:23 PDT 2006

On Tue, 22.08.06 14:14, Padraig O'Briain (Padraig.Obriain at Sun.COM) wrote:

> I get the problem when doing make install, for example in avahi-core 
> directory. The result is that rebuild to not refer to libraries in the 
> source tree does not occur.

This looks like a shell quoting issue to me:

> bash-3.00$ make install
> /bin/sh ../libtool --tag=CC --mode=link 
> /sgnome/tools/x86-solaris/forte/venus-20.2/opt/SUNWspro/bin/cc -I.. 
> '-DDEBUG_TRAP=__asm__("int $3")' 
> -DAVAHI_DAEMON_RUNTIME_DIR=\"/var/run/avahi-daemon/\" 
> -DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\" 
> -DAVAHI_SERVICE_DIR=\"/etc/avahi/services\" 

Please try to replace 

   AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'


   AM_CFLAGS+=-DDEBUG_TRAP=__asm__(\"int $$3\")

or similar, and check if this makes it work for you.


Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/

More information about the avahi mailing list