I had to make two patches to quagga to make it compile cleanly on
Red Hat Linux Beta (and Red Hat Enterprise Linux Beta). I'm sending
them to y'all for comment and possible inclusion, so I won't have to
keep patching. . .
The first one (quagga-0.96.1-libcap.patch) was needed for quagga to
compile on our 64-bit platforms, where make gets whiny about being
given a library (in -l form) as a dependency.
The second one quiets a lot of 32<->64-bit warnings when compiling on
a 64-bit platform. Most of them are because the assert() macro does
not like being passed a bare 64-bit pointer (I think this may be a gcc
bug. . .) so I explicitly compare with != NULL. There's also at least
one ULONG_MAX != UINT_MAX warning and a missing header file causing
warnings about function prototypes.
These are both included in the quagga*.src.rpm (avaliable from a Red
Hat Beta mirror near you) in case the list strips attachments.
I meant to send these out as soon as I made the quagga-0.96.1-3 rpms,
but I forgot. The release of 0.96.2 (which these patches still apply
cleanly to) reminded me.
-- JF
Red Hat Linux Beta (and Red Hat Enterprise Linux Beta). I'm sending
them to y'all for comment and possible inclusion, so I won't have to
keep patching. . .
The first one (quagga-0.96.1-libcap.patch) was needed for quagga to
compile on our 64-bit platforms, where make gets whiny about being
given a library (in -l form) as a dependency.
The second one quiets a lot of 32<->64-bit warnings when compiling on
a 64-bit platform. Most of them are because the assert() macro does
not like being passed a bare 64-bit pointer (I think this may be a gcc
bug. . .) so I explicitly compare with != NULL. There's also at least
one ULONG_MAX != UINT_MAX warning and a missing header file causing
warnings about function prototypes.
These are both included in the quagga*.src.rpm (avaliable from a Red
Hat Beta mirror near you) in case the list strips attachments.
I meant to send these out as soon as I made the quagga-0.96.1-3 rpms,
but I forgot. The release of 0.96.2 (which these patches still apply
cleanly to) reminded me.
-- JF