From owner-freebsd-multimedia Tue Jun 2 09:39:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA26977 for freebsd-multimedia-outgoing; Tue, 2 Jun 1998 09:39:59 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fleming.cs.strath.ac.uk (root@fleming.cs.strath.ac.uk [130.159.196.123]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA26954 for ; Tue, 2 Jun 1998 09:39:55 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from muir-10 (roger@muir-10.cs.strath.ac.uk [130.159.148.10]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id RAA01366 Tue, 2 Jun 1998 17:39:33 +0100 (BST) Message-ID: <35742AC4.2781@cs.strath.ac.uk> Date: Tue, 02 Jun 1998 17:39:32 +0100 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha) MIME-Version: 1.0 To: Amancio Hasty CC: multimedia@FreeBSD.ORG Subject: cannot open /dev/bktr with pthreads C library References: <199805031534.IAA28011@rah.star-gate.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I have some code which opens the Bt848 device and grabs frames. I recompiled my code with "gcc -lc_r" to use the threaded libc. The plan was to add some Posix Threads later. Well, when compiled with -lc_r, calling open() to open /dev/bktr fails and returns errno of 25 errno.h says this is NOTTY /* Inappropriate ioctl for device */ Any ideas? Thanks Roger -- Roger Hardiman, | Department of Computer Science, PhD Research Student, | University of Strathclyde, roger@cs.strath.ac.uk | Glasgow, Scotland, UK http://www.cs.strath.ac.uk/~roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message