In Antwort auf:
My guess is that you're trying to call C++ functions from C and the C object file is expecting to see myfunc() and the C++ object file is providing gnu_int_int_myfunc() or some such nonsense.


Try to compile the following code with g++:
Code:

#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>

int main ()
{
if (0 != fork ())
{
return 0;
}
return 0;
}