Hi Luca, I can confirm Adrian's findings.
I've got a Fedora2 laptop (2.6.7-1.494.2.2custom) and by default it still uses the old 2.4.20 include files. When I linked /usr/include/linux with /usr/src/linux/include/linux I get the following error in ./configure net/ppp_defs.h: present but cannot be compiled net/ppp_defs.h: check for missing prerequisite headers? net/ppp_defs.h: proceeding with the preprocessor's result Report this to [EMAIL PROTECTED] And a warning about xmldump: Xmlversion.h...no Libxml2.so or libxml2.a...yes Gdome.h...no Libgdome.so or libgdome.a...no Glib.h...no Libglib.so or libglib.a...yes Glibconfig.h...no After following Adrian's linking instructions (err.. Moving asm, linux, net and scsi to xxx-2.4.20 first, since they already existed) I only get the xmldump warning. But when compiling I got his net/if.h issue. When I fixed that I had errors with netinet/if_ether.h where Net/ethernet.h [which pretty much doesn't exist at all under 2.6] and net/if_arp.h [which as Adrian points out, is now linux/if_arp.h] weren't found. I also noticed that net/route.h was now complaining about using kernel headers instead of glibc ones... At which point I gave up to do my real work... It looks like the autoconf guys need to take a look at the 2.6 kernels. Just my 2c. Later'ish Craig > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Luca Deri > Sent: Tuesday, September 07, 2004 6:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [Ntop-dev] problems compiling in a pure 2.6 > kernel environment,and some fixes for them > > Adrian, > this is my fedora 2 [snip snip] _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
