I am using buildroot 2010-02 with uclibc 0.9.30 targeting i386. Line 96 in
/asm/sigcontext.h does not provide a name for the union, when compiling with
gcc 4.3.4 -pedantic -pedantic-errors I get the following error:
Error: ISO C doesn't support unnamed structs/unions
I have checked the source
Hi,
It seems like static linking is broken when -ldl is there:
ncdev:~/testcase$ cat dlopen-test.c
#include stdlib.h
#include dlfcn.h
int main(int argc, char *argv[])
{
return dlopen(argv[1], RTLD_NOW) != NULL;
}
ncdev:~/testcase$ gcc -static dlopen-test.c -ldl