Neuen Systemaufruf bei FreeBSD 10.1 hinzufügen

Ich möchte einen neuen Systemaufruf bei FreeBSD hinzufügen. Mein Systemanrufcode lautet:

#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/sysproto.h>

int Sum(int a, int b);

int
Sum(a,b)
{
   int c;
   c = a + b;
   return (0);
}

Aber wenn ich den Kernel neu erstelle, habe ich einen Fehler:

Was ist los? Kannst du mir helfen

Danke vielmals

Antworten auf die Frage(4)

Ihre Antwort auf die Frage