Forum Discussion
Altera_Forum
Honored Contributor
19 years agoBuilding an application
I'm trying to build ipsec-tools using buildroot. After doing some patches on config.sub to include host nios2 I run make and got some errors: main.c: In function `main': main.c:221:...
Altera_Forum
Honored Contributor
19 years agoI edited unistd.h on $STAGING_DIR/include directory and saw this:
# ifdef __ARCH_USE_MMU__ /* Put the program in the background, and dissociate from the controlling terminal. If NOCHDIR is zero, do `chdir ("/")'. If NOCLOSE is zero, redirects stdin, stdout, and stderr to /dev/null. */ extern int daemon (int __nochdir, int __noclose) __THROW __wur;# endif Then I comment the lines that use this function in the program but I get the same error with the function fork. Can someone please help me? What I can do?