nfsim - netfilter simulation environment
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
I have a fresh RH9 installation. I dont seem to have
the 2nd dir you asked me about. When i tried to find docbook.xsl, here is what i got:
[zak@zeenix nfsim]$ locate docbook.xsl /usr/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl /usr/share/sgml/docbook/yelp/docbook/html/docbook.xsl
is it either of these?
Quoted 24 lines · --- Jeremy Kerr
Hi there,
Quoted 2 lines
xsl:import : unable to load
doc/link-xhtml/xhtml/docbook.xslLooks like you don't have the doc/link-xhtml symlink set up correctly (which
is required to process the help functions for each file). Depending on which
distribution you're using, you'll need to manually create the links. On my
system, they are:doc/link-dtd ->
/usr/share/sgml/docbook/xml-dtd-4.2-1.0-17doc/link-xhtml ->/usr/share/sgml/docbook/xsl-stylesheetsThe link-xhtml symlink is the important one, and it needs the
xhtml/docbook.xsl file within - which is provided (on Redhat) by the
docbook-style-xsl package.
Quoted 6 lines
If you find the proper place for the link, let me know and I'll add
autodetection to theMakefile.Jeremy
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
Zeeshan,
Quoted 5 lines
[zak@zeenix nfsim]$ locate docbook.xsl
/usr/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl/usr/share/sgml/docbook/yelp/docbook/html/docbook.xslis it either of these?
The symlink needs to be to a directory with a xhtml/docbook.xsl file (yours are to a 'html', not 'xhtml' subdir). The docbook-style-xsl package provides the appropriate stylesheet.
Jeremy
Hello again,
OK, all those errors seems to be gone but now i get
these errors:
gcc -Wstrict-prototypes -Wunused -Wall -g -ggdb -Wa,-W -I. -I/home/zak/downloads/nfsim/core -I/home/zak/downloads/nfsim/kernelenv/include -I/home/zak/downloads/nfsim/netfilter/include -c -o core/netfilter.o core/netfilter.c core/netfilter.c:453: conflicting types for nf_hook_slow' /home/zak/downloads/nfsim/core/core.h:166: previous declaration of nf_hook_slow' core/netfilter.c: In function `nf_hook_slow':core/netfilter.c:472: warning: implicit declaration of function br_read_lock_bh' core/netfilter.c:472: BR_NETPROTO_LOCK' undeclared (first use in this function)core/netfilter.c:472:
(Each undeclared identifier is reported only once core/netfilter.c:472: for each function it appears in.)core/netfilter.c:501: warning: implicit declaration of function br_read_unlock_bh' core/netfilter.c: In function nf_reinject':core/netfilter.c:512: BR_NETPROTO_LOCK' undeclared (first use in this function)core/netfilter.c: In function ip_route_me_harder':core/netfilter.c:568: structure has no member named `bound_dev_if'core/netfilter.c:581: warning: implicit declaration of function `ip_dev_find'core/netfilter.c:581: warning: assignment makes pointer from integer without a cast core/netfilter.c:587: structure has no member named `bound_dev_if'
make[1]: *** [core/netfilter.o] Error 1 make[1]: Leaving directory `/home/zak/downloads/nfsim/netfilter'
make: *** [netfilter/netfilter.o] Error 2
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
Quoted 3 lines
core/netfilter.c:453: conflicting types for
`nf_hook_slow'
Looks like you're importing netfilter modules from 2.4 source. I've made a few changes that are in today's snapshot which should solve most of the problems here...
Quoted 2 lines
core/netfilter.c:581: warning: implicit declaration of function `ip_dev_find'
... except for this one. Which version of the kernel are you importing from?
Try the 20040108 snapshot and/or importing from a 2.6 source tree. I'll take a look at the ip_dev_find problem in the meantime.
Jeremy
Hello,
Fist of all I am extreme sorry for replying so late.
Quoted 6 lines
Quoted 1 line
core/netfilter.c:581: warning: implicitdeclaration of
Quoted 1 line
function `ip_dev_find'
... except for this one. Which version of the kernel are you importing from?
2.4.20-8
Quoted 3 lines
Try the 20040108 snapshot and/or importing from a
2.6 source tree. I'll take a
look at theip_dev_findproblem in the meantime.
Tried but the ip_dev_find problem is still the same.
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus