Need to figure out how to pass the equivalent of -Bsharable through gcc to ld and use that in configureextra/OPENBSD.
I've got no clue how or what it is - that kind of stuff is OS (and often version) specific and since I think that's an openBSD extension to ld, I'm clueless. You may have to ask on the OpenBSD lists... -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Julien TOUCHE Sent: Tuesday, December 02, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: Re: [Ntop] ntop + openbsd (reminder) Burton M. Strauss III wrote: > WRT config.h good order for test in conftest.c for if_ether.h is: #include <sys/types.h> #include <sys/socket.h> #include <sys/queue.h> #include <net/if.h> #include <net/if_arp.h> #include <netinet/in.h> #include <netinet/if_ether.h> for if.h, need #include <sys/types.h> before including sys/socket.h > > > WRT to the make, that's not going to cut it > > We can try pushing the parms into a Makefile parameter and use > configureextra/OPENBSD, but we'll need the gcc parameter equivalent. Try > the attached patch and configureextra file... on cvs 2.2.97 and HEAD The text leading up to this was: -------------------------- |--- ntop/plugins/Makefile.in 2003-12-02 06:08:07.000000000 -0600 |+++ ntop/plugins/Makefile.in 2003-12-02 09:50:37.000000000 -0600 -------------------------- Patching file plugins/Makefile.in using Plan A... Hunk #1 succeeded at 111. Hunk #2 failed at 648. 1 out of 2 hunks failed--saving rejects to plugins/Makefile.in.rej done if hand correction + patch-config_h: gcc -Bshareable -o .libs/libicmpPlugin.so.0.0 icmpPlugin.o icmpPlugin.o: In function `sortICMPhosts': /share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins/icmpPlugin.c:60: undefined reference to `traceEvent' /share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins/icmpPlugin.c:63: undefined reference to `traceEvent' /share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins/icmpPlugin.c:66: undefined reference to `traceEvent' icmpPlugin.o: In function `formatSentRcvd': /share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins/icmpPlugin.c:160: undefined reference to `formatPkts' /share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins/icmpPlugin.c:160: undefined reference to `formatPkts' [snip] with $(LD) gmake[3]: Entering directory `/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins' /usr/bin/ld -Bshareable -o .libs/libicmpPlugin.so.0.0 icmpPlugin.o is ok seems gcc is not on good mood (gcc version 2.95.3 20010125 (prerelease, propolice)) Regards Julien _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
