Creating a New Daemon


#1

Hi,

I am trying to create a new daemon in the parallel to rip, ospf and other protocols and connect it to zebra.
I have tried to follow the steps in this link:
https://www.nongnu.org/quagga/zhh.html

but no much luck with that.

Could you please guide me through the process to create a new daemon


#2

Hi,

I have tried following steps.

I replicated the ripd daemon and made the required changes in the code, I also modified the files

  1. vyatta-quagga/Makefile.am
  2. vyatta-quagga/configure.ac

after running the command debuild -b -us -uc it gives me a the following files :

vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.build
vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.changes
vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.deb
vyatta-quagga-dbg_0.99.20.1-14+vyos2+current1_amd64.deb

when I do a make iso it crashes with this error:

Errors were encountered while processing:^M
/root/packages/./vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.deb^M
E: Sub-process /usr/bin/dpkg returned an error code (1)
P: Begin unmounting filesystems…

I have also attached the build.log file.

build.log (194.0 KB)

Could you please help me with this regards.