Hi Everton, thank you for your reply. your hint about trying: "autoreconf -i --force" after applying the patch solved the errors i mentioned about aclocal and ..., but sadly during the build process, it ended with a new error. this is the new error i got;
pim_igmp_join.c: In function 'pim_igmp_join_source': pim_igmp_join.c:46: error: 'AF_INET' undeclared (first use in this function) pim_igmp_join.c:46: error: (Each undeclared identifier is reported only once pim_igmp_join.c:46: error: for each function it appears in.) pim_igmp_join.c:57: warning: implicit declaration of function 'setsockopt' pim_igmp_join.c:57: error: 'SOL_IP' undeclared (first use in this function) i will work on solving this error, i think it has something to do with the included files and libraries in pim code, (maybe some of them should be replaced with their alternatives in FreeBSD?). i will tell here if i got any success. if you got any ideas about how to solve this error, it would be really great. thanks again. ________________________________ From: Everton Marques <[email protected]> To: bored to death <[email protected]> Cc: [email protected] Sent: Mon, July 26, 2010 5:30:11 PM Subject: Re: [qpimd-users] qpimd in FreeBSD? Hi, On Sun, Jul 25, 2010 at 4:52 AM, bored to death <[email protected]> wrote: > > i'm having a quagga router on FreeBSD for my company for a while now. for > some reasons i now need to add PIM support to my router. i googled and found > this fine qpimd patch for quagga that seems to be my only change to have PIM > support with quagga. i downloaded qpimd source for "quagga-0.99.15" and > applied the patch file and the it executed successfully. but now quagga > doesn't build and returns errors about aclocal and automake versions and > existence and other build-related stuff, and i couldn't make it work. > > so here are my questions: > 1-the documentation says qpimd is for linux. can the patch file be used on > FreeBSD too, or it doesn't work there? > 2-if the answer of 1 is no, is there any modified qpimd patch or other > source that could be applied in FreeBSD? > 3-how can i get rid of these ugly build-related errors after applying the > patch. or is there any version of qpimd patch that doesn't modify these > things in quagga Makefiles? 1- Since I didn't tried it myself, I can't tell if qpimd would work on FreeBSD. The first task is to check whether the FreeBSD kernel mroute API differs from Linux. 2- As far as I know, no. 3- Do you have GNU Build Tools (Automake) installed ? If so, after applying the patch, and before building, try: autoreconf -i --force Please notice 'gawk' is also usually needed to rebuild with autotools. Otherwise, you can post the build-related errors here so we can take a peek. Cheers, Everton
