• Error ‘rtld_next’ Undeclared

    linux – How to make this C program compile? – Stack Overflow – When I type gcc gprof-helper.c to compile the program I get these errors: gprof-helper.c: In function `wooinit’: gprof-helper.c:38: error: `RTLD_NEXT’ undeclared (first use in this function)

    buildroot-up / upstream tasks / #102 libiscsi-1.6.0 : error … – test-tool/iscsi-test.c:358: error: ‘RTLD_NEXT’ undeclared (first use in this function) test-tool/iscsi-test.c:358: error: (Each undeclared identifier is reported only once test-tool/iscsi-test.c:358: error: for each function it appears in.)

    Cannot build libmudflap on irix6.5 – `RTLD_NEXT’ undeclared – Cannot build libmudflap on irix6.5 – `RTLD_NEXT’ undeclared. From: “Billinghurst, David (CRTS)” To:

    Bonjour! When I try to make devfsd.tar.gz I get this error: [root@noname devfsd]# make cc -O2 -I. -Wall -c -o devfsd.o devfsd.c devfsd.c: In function `free_config’: devfsd.c:1394: `RTLD_NEXT’ undeclared (first use in this function) devfsd.c:1394: (Each undeclared identifier is reported only …

    … warning: assignment makes pointer from integer without a cast open.c:13: error: ‘RTLD_NEXT’ undeclared (first use in this function) open.c:13: error: … then we’ll get warnings and fix it once -D_GNU_SOURCE is removed. If the code depends on incorrect GNU semantics in standardized …

    I’m trying to compile a C program but I get the error ‘RTLD_NEXT’ undeclared. I think this is supposed to be defined in dlfcn.h which the c program includes, but when I looked inside dlfcn.h there…