On Feb 13, 2008, at 6:14 PM, sagun shakya wrote:

> Updated webrev can be found at:
>
> http://cr.opensolaris.org/~sagun/libpcap-review2/

It says, in a comment you added to configure.in:

        + # Due to a gcc bug (6619485), the default search path for 32-bit
        + # libraries does not include /lib, we add it explicitly here.
        + # Also, due to the bug above applications that link to libpcap with
        + # libdlpi will have to add "-L/lib" option to "configure".

(Is 6619485 a GCC Bugzilla bug number?  I don't see it on 
http://gcc.gnu.org/bugzilla.)

If applications have to add that flag, tcpdump's configure script  
should probably check to see whether it needs to link with -L/lib in  
order to link with libpcap; tcpdump is not necessarily linked with ../ 
libpcap-XXX/libpcap.a - somebody might be building tcpdump on a system  
that comes with libpcap, and be linking with the system libpcap.   
Putting that in there also provides a template that other applications  
can use in their configure scripts, if they're using autoconf.

Reply via email to