Date: Sun, 31 Jan 1999 20:09:54 -0500 (EST) From: David Gilbert <dgilbert@velocet.net> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/9849: mknod missing from c_r Message-ID: <199902010109.UAA28851@trooper.velocet.ca>
next in thread | raw e-mail | index | archive | help
>Number: 9849 >Category: bin >Synopsis: mknod is missing from libc_r >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 31 17:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: David Gilbert >Release: FreeBSD 3.0-RELEASE i386 >Organization: >Environment: I'm running FreeBSD 3.0-RELEASE as installed by the installation. >Description: When I compile software with -pthread that required mknod(2), the link will fail. >How-To-Repeat: cat >test1.c <<EOF #include <unistd.h> main() { mknod("foo",3,1); } EOF [2:11:311]dgilbert@trooper:~/devel2> gcc -pthread -o test1 test1.c /tmp/ccT288091.o: In function `main': /tmp/ccT288091.o(.text+0xd): undefined reference to `mknod' [2:12:312]dgilbert@trooper:~/devel2> gcc -o test1 test1.c >Fix: I would assume adding this function to libc_r would fix things, but I don't know if there's a problem with that. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902010109.UAA28851>