Re: compile error 4.3.0
you shud download 4.3.0, change host.def(may be), do make World -jassi On Tue, 03 Feb 2004 [EMAIL PROTECTED] wrote : hi folks, i had a xf86sym compile error using the 4.1.0 sources that i patched with the 4.2.0 and 4.3.0 diff files. i also compiled and installed atk and pango before running make worldopts did i do it right? should i instead download the 4.3.0 sources? thanks and regards, carlos
Re: C++ code in Xfree86?
Hi, 1)for cross compiling, does we need to modify cross.def and save as host.def? No, you have to make a new file host.def where you put in all the configuration define's 2)In Cross.def there is a line #define CplusplusCmd Is there any C++ code in Xfree86-4.2.0 source? we don't have C++ compiler for our target platform. never mind, you wudn't need ++ anywhere (at least my conf never needed) Also kindly provide some document/links on successful porting of Xfree86 to new Hardware platform. http://www.handhelds.org/minihowto/building-x.html -Jassi On Fri, 09 Jan 2004 Suresh Chandra Mannava wrote : Dear Friends, I struck up with cross compile of Xfree86, Here are some queries which I need your generous help. Thanks in Advance. Regards, Suresh. = --- Suresh Chandra Mannava. Research Scholar, V I T, India. mannavaatvit.ac.in Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
freetype2 problems with cvs
Hi all, http://www.mail-archive.com/[EMAIL PROTECTED]/msg04101.html In reference to the above link where david suggested some changes in the XFree86 source. Index: lib/Xft/Xft.h === RCS file: /home/x-cvs/xc/lib/Xft/Xft.h,v retrieving revision 1.32 diff -u -r1.32 Xft.h --- lib/Xft/Xft.h 25 Feb 2003 21:57:53 - 1.32 +++ lib/Xft/Xft.h 20 Nov 2003 22:03:55 - @@ -32,7 +32,8 @@ #define XftVersion XFT_VERSION #include stdarg.h -#include freetype/freetype.h +#include ft2build.h +#include FT_FREETYPE_H #include fontconfig/fontconfig.h #include X11/extensions/Xrender.h * when i try to crosscompile Qt/X11 with the /home/jassi/usr/X11R6/include headers generated by the compilation(cross) of Xfree86, the compiler cant find ft2build.h header file. So i have to explicitly mention the search path in the file. I think:: #include ft2build.h is XFree86 specific. Shudn't there be #include freetype2/ft2build.h so that any other software can figure out the headers easily. I mean the same for all the include's which can cause such problems. -Jassi
Re: Re: freetype2 problems with cvs
Your second reply satisfies me. -jassi On Thu, 11 Dec 2003 David Dawes wrote : On Thu, Dec 11, 2003 at 10:21:21AM -0500, David Dawes wrote: On Thu, Dec 11, 2003 at 01:58:03PM -, jassi brar wrote: Hi all, http://www.mail-archive.com/[EMAIL PROTECTED]/msg04101.html In reference to the above link where david suggested some changes in the XFree86 source. Index: lib/Xft/Xft.h === RCS file: /home/x-cvs/xc/lib/Xft/Xft.h,v retrieving revision 1.32 diff -u -r1.32 Xft.h --- lib/Xft/Xft.h 25 Feb 2003 21:57:53 - 1.32 +++ lib/Xft/Xft.h 20 Nov 2003 22:03:55 - @@ -32,7 +32,8 @@ #define XftVersion XFT_VERSION #include stdarg.h -#include freetype/freetype.h +#include ft2build.h +#include FT_FREETYPE_H #include fontconfig/fontconfig.h #include X11/extensions/Xrender.h * when i try to crosscompile Qt/X11 with the /home/jassi/usr/X11R6/include headers generated by the compilation(cross) of Xfree86, the compiler cant find ft2build.h header file. So i have to explicitly mention the search path in the file. I think:: #include ft2build.h is XFree86 specific. Shudn't there be #include freetype2/ft2build.h so that any other software can figure out the headers easily. I mean the same for all the include's which can cause such problems. No, ft2build.h is correct. I you use the XFree86 installation, then you need -IProjectRoot/include/freetype2. It is arguable that it would have been better if the freetype2 headers were installed one level up, but I don't know what we'd break if we changed that now. On the other hand, an advantage of the way it is now is that it is less likely that an app will unintentionally use the XFree86-provided headers. Things that use imake that will get the build flags right. There are a few minor bugs in the way FREETYPE2INCLUDES is set, but they err on the side of redundancy. Actually, I'll take some of that back. For consistency with default freetype2 installations, we should put ft2build.h in ProjectRoot/include. However, you still need -I.../include/freetype2 to find the other headers. This is even documented in many versions of ft2build.h: /* prefix/include/freetype2 must be in your current inclusion path */ Comments in that file suggest that the FreeType people will be changing that structure in some future release to make that unnecessary. David -- David Dawes developer/release engineer The XFree86 Project www.XFree86.org/~dawes ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Re: devices Xfbdev
Hi Friends, I am a bit confused ... I understand, if i crosscompiple(Xipaq) When we do make World (I mean only the order of files):: host.def - linux.cf - kdrive.cf - {xitsy.cf|tinyX.cf ; cross.def} The file iPAQH3600.cf says define KDriveServer and XiPAQH3500Server in host.def, but there is no conditional inclusion of iPAQH3600.cf in kdrive.cf (like its for tinyX.cf and itsy.cf). How wud this file(iPAQH3600.cf)get involved inthe process, if its not mentioned in kdrive.cf? So... either this has to be _hardwired_ in the compilation process or WE have put conditional inclusion entry in the kdrive.cf like :: #if XiPAQH3500Server #include iPAQH3600.cf #endif I think the latter case... what say, experts? I wud like to write my complete cross-compilation experience ..if i get to know all these detail... so that the _big_ guys wud have time to do more rewarding things than answering new-bie questions like mine :) Maybe thats the only way for me to express my gratitude. Regards, Jassi
Re: Re: Xfbdev error
Hi David, I _do_ have shared libraries. Can u please tell me the OPTION, to give while compiling Xfbdev, by which it knows of the shared libs being present already. I mean something to be define'd or undef'd in the any .def file.? All these libs libX*.so.* also get compipled with the Xfbdev. Or do i have to give serveronly define? Best Regards, Jassi Does your target platform have shared libraries? I find Xfbdev to be less than 1MB on platforms with shared libraries. Check the sizes of the pieces that get linked together to make Xfbdev. David -- David Dawes X-Oz Technologies www.XFree86.org/~dawes www.x-oz.com
Xfbdev fails.....
Hi all, I m trying to run Xfbdev(tinyX) on my arm-board. But I m facing the error:: ___ # xterm xterm: error while loading shared libraries: libXft.so.2: cannot load shared object file: No such file or directory # xinit _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/(none):0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 Fatal server error: Failed to establish all listening sockets giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. # Xfbdev _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/(none):0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 Fatal server error: Failed to establish ___ If anybody can help me... Thanx in advance, Jassi
Xfbdev problem
Hi all, I m trying to run Xfbdev(tinyX) on s3c2410... but when i try to execute it, it says _ # startx hostname: (none): Unknown host mcookie: No such file or directory xauth: timeout in locking authority file //.Xauthority xauth: timeout in locking authority file //.Xauthority xauth: timeout in locking authority file //.Xauthority xauth: timeout in locking authority file //.Xauthority _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/(none):0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 Fatal server error: Failed to establish all listening sockets giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. xauth: timeout in locking authority file //.Xauthority command: No such file or directory # _ Any kind of help would be appreciated. Thanx n Regards, Jassi
X library not found error
Hi all, i m trying to port X-server on s3c2410 board. I successfully crosscompiled the tinyX and put it in the filesystem. But when i give any command like xinit or X or Xfbdev its says :: example:_ # ./Xfbdev ./Xfbdev: error while loading shared libraries: libfreetype.so.6: cannot load shared object file: No such file or directory _ likwise all command endup saying library not found(all libraries), while all are _present_. I have set path in .profile also and it shows the PATH and LD_LIBRARY_PATH proper set. But somehow dosn't find the libraries, neither does it show command in x11r6/bin when double tab is pressed. Did ny1 face such problem ever? please help me Thanx in Advance, Jassi
Re: Re: Re: png.h not found!!!
Hi david, thanx for the advice... it worked like a charm :-) greatt. I m little confusion . why does kamp.c look for asm/mtrr.h when this header is only for i386 arch( i think)? Could you please suggest me any article which explains howto set the X-windows system manually. Thanx again, Jassi On Fri, 24 Oct 2003 David Dawes wrote : 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
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? ###
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: how to build an embedded X-window
Hi joseph, I'm new in embedded Linux and XFree86 world. Now I have built a embedded linux on my CF card (32MB). Welcome to the community. ThenI want to build a embedded platform with X window. What paper should I read first? I think you need GUI, not particularly X windows. Clarify for further reply. In my opinion, I am going to XFree86.org to download the XFree86 4.3.0 (or 4.4.0) package. It would be an overkill to put XFree package on an embedded device. Then, rebuild the XFree86 and then install it to my target CF card. Is this thinking correct? Theoretically YES, but as i said you shud need XFree86 for an embedded device. Perhaps you may go for Qt/Embedded or the like, which is especially for embedded devices. How do I reduce the size of the XFree86 environment? Remove the unnecessary files? You don't need to reduce anything .perhaps only trouble ;-) if you use Qt/Embedded. Hope this gives you a start, Jassi
embedded (GPL)Xfree86
Dear all, I m working on porting the X11 onto an embedded environment. The regular XFree86 is obviously MUCH MORE than needed. I need some trimmed version of XFree86 for embedded linux(mizi), that too under GPL(i can't buy any comercial s/w). Cud you plz suggest me some suggestion or link where i can find the same. I have extensively google'd without much luck :-( Thanx in advance, jassi ___ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel