linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* fb use
@ 1999-10-10 16:24 David Riley
  1999-10-10 19:31 ` Takashi Oe
  0 siblings, 1 reply; 2+ messages in thread
From: David Riley @ 1999-10-10 16:24 UTC (permalink / raw)
  To: linuxppc-dev


How do I get a program to access the fb?  I #included <linux/fb.h>, and
I can use all the various structs, but none of the functions (e.g.
fb_open) work (it fails in the linking, giving an undefined reference). 
Any help?

Thanks,
	David

-- 
--"Your mouse has been moved.  Windows 95 must be restarted for change
to take effect."

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fb use
  1999-10-10 16:24 fb use David Riley
@ 1999-10-10 19:31 ` Takashi Oe
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Oe @ 1999-10-10 19:31 UTC (permalink / raw)
  To: David Riley; +Cc: linuxppc-dev


On Sun, 10 Oct 1999, David Riley wrote:

> How do I get a program to access the fb?  I #included <linux/fb.h>, and
> I can use all the various structs, but none of the functions (e.g.
> fb_open) work (it fails in the linking, giving an undefined reference). 

They are not userland functions, and, thus, they can't be called.  Are
they not inside "#ifdef __KERNEL__"?

> Any help?

Take a look at any number of fb based userland programs such as fbtv and
fbi.  Their sources are available at xawtv's home page:
	http://www.in-berlin.de/User/kraxel/xawtv.html


Takashi Oe


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-10-10 19:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-10 16:24 fb use David Riley
1999-10-10 19:31 ` Takashi Oe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).