Date: Tue, 2 Jun 1998 20:03:21 -0500 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "Mike Smith" <mike@smith.net.au> Cc: <current@FreeBSD.ORG> Subject: Re: ppp cannot find libalias Message-ID: <00e001bd8e8b$66ef5080$c3e0d9cf@admin.westbend.net>
next in thread | raw e-mail | index | archive | help
From: Mike Smith <mike@smith.net.au> >Unfortunately I can't use your diff as-is as it appears to have suffered >catastrophic whitespace damage, but I take your point. > I was being lazy, I edited your code directly in the mail program. >Are there any disagreements with the basic idea, ie. use rtfindfile() >to locate files requested by dlopen() if they do not contain path >components? > No objection if it works. But, when I compile I get a warning for rtfindfile, as shown below: >> + /* If path is not qualified, search for it on the standard searchpath */ >> + name = (strchr(path, '/') != NULL) ? strdup(path) : rtfindfile(path); >> + cc -O2 -pipe -I/usr/src/libexec/rtld-aout -I/usr/src/libexec/rtld-aout/i386 -fpic -fno-function-cse -DRTLD -Wall -c /usr/src/libexec/rtld-aout/rtld.c /usr/src/libexec/rtld-aout/rtld.c: In function `__dlopen': /usr/src/libexec/rtld-aout/rtld.c:1913: warning: passing arg 1 of `rtfindfile' discards `const' from pointer target type cc -O2 -pipe -I/usr/src/libexec/rtld-aout -I/usr/src/libexec/rtld-aout/i386 -fpic -fno-function-cse -DRTLD -Wall -nostdlib -Wl,-Bshareable,-Bsymbolic ,-assert,nosymbolic -o ld.so mdprologue.o rtld.o shlib.o md.o upport.o -lc_pic -lgcc_pic Scot NOTE: rtld.c (v1.53) has moved to libexec/rtld-aout. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e001bd8e8b$66ef5080$c3e0d9cf>