png.h not found!!!
Hi all, i m trying to crosscompile XFree86(TinyX). Everything works fine but ... when compilation enters the xc/programs/xcursorgen dir it says png.h found nowhere!!! along with many errors. png.h is nowhere present in XFree86 source tree ...not even in the whole filesystem ;) Any help wud be greatly appreciated. Thanx, Jassi .. About 1MB of text .. then. ... make[4]: Entering directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc/programs/xcursorgen' /opt/host/armv4l/bin/armv4l-unknown-linux-gcc -pipe -O2 -g -fsigned-char -I../.. -I../../exports/include -Dlinux -D__arm32__ -D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -c -o xcursorgen.o xcursorgen.c xcursorgen.c:35: png.h: No such file or directory xcursorgen.c:140: parse error before `png' xcursorgen.c: In function `premultiply_data': xcursorgen.c:144: `row_info' undeclared (first use in this function) xcursorgen.c:144: (Each undeclared identifier is reported only once xcursorgen.c:144: for each function it appears in.) xcursorgen.c:146: `data' undeclared (first use in this function) xcursorgen.c: In function `load_image': xcursorgen.c:165: `png_structp' undeclared (first use in this function) xcursorgen.c:165: parse error before `png' xcursorgen.c:166: `png_infop' undeclared (first use in this function) xcursorgen.c:167: `png_bytepp' undeclared (first use in this function) xcursorgen.c:170: `png_uint_32' undeclared (first use in this function) xcursorgen.c:170: parse error before `width' xcursorgen.c:174: `png' undeclared (first use in this function) xcursorgen.c:174: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function) xcursorgen.c:178: `info' undeclared (first use in this function) xcursorgen.c:212: `width' undeclared (first use in this function) xcursorgen.c:212: `height' undeclared (first use in this function) xcursorgen.c:217: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function) xcursorgen.c:220: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function) xcursorgen.c:223: `PNG_INFO_tRNS' undeclared (first use in this function) xcursorgen.c:232: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function) xcursorgen.c:235: `PNG_INTERLACE_NONE' undeclared (first use in this function) xcursorgen.c:239: `PNG_FILLER_AFTER' undeclared (first use in this function) xcursorgen.c:252: `rows' undeclared (first use in this function) xcursorgen.c:252: `png_bytep' undeclared (first use in this function) make[4]: *** [xcursorgen.o] Error 1 make[4]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc/programs/xcursorgen' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc' make: *** [World] Error 2 ### Can i do without this binary? ###
newbie question
Hello all, i have a question about Xfree internals. i would like to know how xfree capture the keyboard and mouse events. Is it with a simple read ? And does it rely on the OS? i know that in text mode, the characters comes from read(), which comes from somewhere in the tty driver... any direct answer, (accurate) source code pointers, or urls are welcome :) i hope this is ok to ask for that here. thx in advance :) btw, i haven't suscribed to the ml, plz reply by email -- David ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
writing accelerated driver
Hello, we have our custom board with Fujitsu Scarlet graphic 2D/3D accelerator. For now, it works as ramebuffer device without acceleration utilized. I would like to ask, how to start with writing accelerated driver. Is XAA good start point ? Any suggestions ? HANYS ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: png.h not found!!!
Do you have libpng installed? ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: writing accelerated driver
Thank you very much for information. HANYS For 2D accel you'll want to look at XAA. for 3D accel, you'll want to use the the DRI (http://dri.sf.net). To start with XAA, I'd take a look at how other drivers implement acceleration (look at the chipname_accel.c files). for the DRI, check out the design documents at the DRI website and then look at the other 3D drivers. Alex --- Jan Damborsky [EMAIL PROTECTED] wrote: Hello, we have our custom board with Fujitsu Scarlet graphic 2D/3D accelerator. For now, it works as ramebuffer device without acceleration utilized. I would like to ask, how to start with writing accelerated driver. Is XAA good start point ? Any suggestions ? HANYS __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
C+T 69030 driver on powerpc
Has anyone sucessfully run the chips 69030 driver on powerpc based systems? I'm trying to get it running on a custon 7410 based board with two 69030's on,a nd i;'m seing soem off things: my /proc/pci gives me that: Bus 0, device 18, function 0: VGA compatible controller: PCI device 102c:0c30 (Chips and Technologies) (rev 97). IRQ 18. Non-prefetchable 32 bit memory at 0xfa00 [0xfaff]. Bus 0, device 19, function 0: VGA compatible controller: PCI device 102c:0c30 (Chips and Technologies) (rev 97). IRQ 18. Non-prefetchable 32 bit memory at 0xfb00 [0xfbff]. at the moment i'm just attempting single head setup on device 18, however i find cPtr-PciInfo-memBase[0] is 0xff00 when calulating cPtr-FbAddress (in chipsPreInitHiQV) , rather than 0xfa00! Does any know any reason why xf86GetPciInfoForEntity would return incorrect information, or have i got the wrong end of the stick? Also does anyone know the reason for the addition of 0x80 to the base address in the big-endian case? Thanks to anyone who can spread some light on this for me! Rob Taylor Senior Developerrobt at flyingpig dot com Flying Pig Systems http://www.flyingpig.com Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: C+T 69030 driver on powerpc
On Thu, 23 Oct 2003 17:16:19 +0100, Rob Taylor wrote: Has anyone sucessfully run the chips 69030 driver on powerpc based systems? I'm trying to get it running on a custon 7410 based board with two 69030's on,a nd i;'m seing soem off things: ... Also does anyone know the reason for the addition of 0x80 to the base address in the big-endian case? Many graphics chips include two separate views of the frame buffer: one that swaps bytes, one that does not. This makes it easy to handle endian mismatches. I'm guessing that's the case here. -- - Tim Roberts, [EMAIL PROTECTED] Providenza Boekelheide, Inc. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Re: png.h not found!!!
Hi david, Noo, i m crosscompiling XFree86. By the way, can't i do without it? jassi On Thu, 23 Oct 2003 david mattatall wrote : Do you have libpng installed? ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: writing accelerated driver
There's an XAA.HOWTO in the server tree at xc/programs/Xserver/hw/xfree86/xaa/XAA.HOW Mark. On Thu, 23 Oct 2003, Jan Damborsky wrote: Hello, we have our custom board with Fujitsu Scarlet graphic 2D/3D accelerator. For now, it works as ramebuffer device without acceleration utilized. I would like to ask, how to start with writing accelerated driver. Is XAA good start point ? Any suggestions ? HANYS ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Re: png.h not found!!!
On Thu, Oct 23, 2003 at 03:46:34PM -, jassi brar wrote: Hi david, Noo, i m crosscompiling XFree86. By the way, can't i do without it? Yes, just add the following line to your xc/config/cf/host.def file: #define HasLibpng NO David -- David Dawes X-Oz Technologies www.XFree86.org/~dawes www.x-oz.com ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: C+T 69030 driver on powerpc
Tim Roberts writes: On Thu, 23 Oct 2003 17:16:19 +0100, Rob Taylor wrote: Has anyone sucessfully run the chips 69030 driver on powerpc based systems? I'm trying to get it running on a custon 7410 based board with two 69030's on,a nd i;'m seing soem off things: ... Also does anyone know the reason for the addition of 0x80 to the base address in the big-endian case? Many graphics chips include two separate views of the frame buffer: one that swaps bytes, one that does not. This makes it easy to handle endian mismatches. I'm guessing that's the case here. Right, that's exactly the reason for this. The BE support was tested for one of the HiQV chipsets - however I'm not sure if it was tested for the 69030. Egbert. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel