I already responded on quagga-users:

https://lists.quagga.net/pipermail/quagga-users/2015-August/014142.html

Things I would look for:

Is your new file compiling?  Do you see the .o?
When you run 'nm <newfile.o>' do you see the function name as a symbol?
Is it actually linking with your new file?  What does the compile line look
like?

Finally if none of the above work for you, send the 'git diff' of what you
have and we can take a look.

donald



On Tue, Aug 11, 2015 at 11:44 AM, SONDI Mikael <[email protected]>
wrote:

> Hello room,
> I am currently working on the Quagga source code. I have included some C
> source files and header files into the Quagga codebase, but when I compile
> quagga, I get the errors:
> /bgpd/bgpd.c:167: undefined reference to `function_name'
> Though the function is included via another C source file and present in a
> header file which I imported correctly in bgp.c.
>
> Has anyone solve this issue before?
> I would be glad to have your feedback guys,
> Thanks
>
> _______________________________________________
> Quagga-dev mailing list
> [email protected]
> https://lists.quagga.net/mailman/listinfo/quagga-dev
>
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to