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 once
devfsd.c:1394: for each function it appears in.)
devfsd.c: In function `get_shared_object':
devfsd.c:1710: `RTLD_NEXT' undeclared (first use in this function)
make: *** [devfsd.o] Error 1
Line 1394 is:
first_config = NULL;
last_config = NULL;
for (so_entry = first_so; so_entry != NULL; so_entry = next)
{
next = so_entry->next;
free ( (char *) so_entry->name );
if (so_entry->handle != RTLD_NEXT) dlclose (so_entry->handle);
free (so_entry); ^^^^^^^^^^^^^
And line 1710 is:
if (strcmp (name, "GLOBAL") == 0) so->handle = RTLD_NEXT;
^^^^^^^^^^^^
else if ( ( so->handle = dlopen (name, RTLD_NOW) ) == NULL )
This is with Caldera OpenLinux Technology Preview upgraded with
2.4.0-test9 and their glib and gcc. I compiled in all the kernel options
to use devfs.
Any ideas?
Armand
--
Linux 2.2.18pre14 #1 SMP Sun Oct 1 16:21:01 MST 2000 i686
Wed Oct 11 22:42:00 MST 2000
|