C++ code in Xfree86?

2004-01-09 Thread Suresh Chandra Mannava
Dear Friends,

I struck up with cross compile of Xfree86, Here are
some queries which I need your generous help.

1)for cross compiling, does we need to modify
cross.def and save as host.def? 

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.

Also kindly provide some document/links on successful
porting of Xfree86 to new Hardware platform.

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


Release?

2004-01-09 Thread Mali Laurent



Hi,

Any news on the 4.4.0 stable release?
I cant wait for it.!
No more core team... i really think that sux... 
But hey who am i =)
Hope you (developers) are still very active 
writing that blessed code.
Greetings and keep up the good work!



Re: So what's up now?

2004-01-09 Thread Michael Taylor
Jewel Kilcher wrote:
 Is xf86 dead in the water?  What decisions did the core team hold over
 the project?  Don't mean to bother anyone, but I don't want to see
 this die.

Not dead.

http://www.mail-archive.com/xfree86%40xfree86.org/msg11932.html
http://www.mail-archive.com/devel%40xfree86.org/msg04639.html

Perhaps this could be clarified on the XFree86 front page.

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Using absolute position data with a USB mouse

2004-01-09 Thread Dean, Gamma
Title: Message



With a USB mouse it 
is possible to report absolute position data just like you would with a graphics 
tablet. This capability has enormous potential for developers of KVM 
(remote keyboard, video, mouse) applications such as myself. Unfortunately 
with the current mouse input driver, absolute position simply gets converted 
back to relative position changes. I looked in the archives to see if this 
has been discussed before but didn't see any mention of it. I am wondering 
how the rest of you would feel about changing this behavior.

Thank 
you,

Gamma 
Dean
Avocent 
Corp.




Re: building X11 in separate pieces

2004-01-09 Thread Mario Klebsch
Hi!

Am Donnerstag, 08.01.04 um 23:07 Uhr schrieb Warren Turkal:

Mario Klebsch wrote:
You cannot get anything worse than a compiler error. :-)

BTW, what is your intention?
I wanna use the freedesktop.org xlib with the XFree86 source tree.
xlib is just a small layer on top of the XLib protocol. So what should 
be gained by using a different implementation?

But without digging to deep into that question, does freedesktop only 
provide an alternative xlib or do they offer an alternative to XFree 
(providing a complete set of libraries (xlib, Xt, Xaw, ...) and the 
imake based build system?

Only having an xlib is not sufficient to build most X11 applications.

73, Mario
--
Mario Klebsch  [EMAIL PROTECTED]
PGP-Key available at http://www.klebsch.de/public.key
Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB  1483 30CE 9FB2 A047 9CE0
 Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5  8B98 9464 53FF 9382 F518
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Docs on writing an extension

2004-01-09 Thread Suzy Deffeyes
I was wondering what are some good sources of info on writing an extension?

Is appendix C of xlib.ps a good source?
http://cvsweb.xfree86.org/cvsweb/xc/doc/hardcopy/X11/xlib.PS.gz

Other suggestions? 
Thanks
Suzy

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: building X11 in separate pieces

2004-01-09 Thread Thomas Dickey
On Fri, 9 Jan 2004, Mario Klebsch wrote:

 xlib is just a small layer on top of the XLib protocol. So what should
 be gained by using a different implementation?

not much unless there are protocol changes.

 But without digging to deep into that question, does freedesktop only
 provide an alternative xlib or do they offer an alternative to XFree
 (providing a complete set of libraries (xlib, Xt, Xaw, ...) and the
 imake based build system?

Perhaps a pointer to the relevant CVS (and the corresponding tag) would
help answer that question.  From what I could see, the XORG tag on
freedesktop is just a copy of xfree86's from several weeks ago.  If
there's any real content difference, it's either in a different tag on on
a different server.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IPv6-enabled XFree86 4.4.0 with IPv4-only kernel

2004-01-09 Thread Matthieu Herrb
David Dawes wrote (in a message from Thursday 8)
  
  I need to make a correction to that.  While I could have sworn that it was
  the default on all platforms, it is only the default on a few platforms
  (including Linux though).
  
  I think it should be the default everywhere.  Something like the attached
  patch (relative to the current CVS trunk) would do it.
  

I think this should be commited. In fact it looks like my last test on
a IPv4 only kernel was before the last change in the logic there. I've
commited a patch to add -DPART_NET to OpenBSD.cf and was about to do
the same for NetBSD.cf, but I'll be happy to revert the OpenBSD.cf
part if we change the default.

Matthieu
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IPv6-enabled XFree86 4.4.0 with IPv4-only kernel

2004-01-09 Thread David Dawes
On Sat, Jan 10, 2004 at 01:04:30AM +0100, Matthieu Herrb wrote:
David Dawes wrote (in a message from Thursday 8)
  
  I need to make a correction to that.  While I could have sworn that it was
  the default on all platforms, it is only the default on a few platforms
  (including Linux though).
  
  I think it should be the default everywhere.  Something like the attached
  patch (relative to the current CVS trunk) would do it.
  

I think this should be commited. In fact it looks like my last test on
a IPv4 only kernel was before the last change in the logic there. I've
commited a patch to add -DPART_NET to OpenBSD.cf and was about to do
the same for NetBSD.cf, but I'll be happy to revert the OpenBSD.cf
part if we change the default.

I've already committed it (and reverted OpenBSD.cf).

It looks like the logic was unchanged since before IPv6 was
integrated.  When I checked back to see that I'd tested on a
non-Linux platform with IPv4-only, I found that I was mistaken.

David
-- 
David Dawes
developer/release engineer  The XFree86 Project
www.XFree86.org/~dawes
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


FW: [XFree86] X 4.3.99.902 Compile error

2004-01-09 Thread Wise, Jeremey
After a few more attempts to get 4.4 to compile completely I have again come
back to the group. I am not a programmer. I just want a screen that has
better size then 800x600 -SaX2 will not set it beyond that. If I us the
correct manufacturer driver (instead of the VESA) then the screen gets split
3/4 of the way down and 'wraps' back onto the bottom. I was told that this
was a known bug that 4.4 fixes which is why I am trying to get it compiled
and running. 

The only other thought I had was that if there is someone out their who can
successfully compile their install of 4.4 and compile it into an RPM that
would solve my problems also. (Just a thought)

To those who have assisted as much as they can; my apologies for the
plethora of emails on this issue.

Jeremey Wise

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Wise, Jeremey
Sent: Wednesday, January 07, 2004 11:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [XFree86] X 4.3.99.902 Compile error

The saga continues. As I received no help back I tried to (remember I am
not a programer:) remark out the 'if-fi' section containing the errors
listed below, thinking it may skip this section and go on it's mary way.
It got a little farther then failed with another set of referances. I am
attaching both the ./xc/programs/xcursorgen/xcursorgen.c file and
the error output I could get from the shell session. 

Help please - failing to understand why SuSE has these problems but
Fedora and Knoppix do not. Issue is I have to use SuSE as our companies
technical contact for SuSE.

THanks,


On Tue, 2004-01-06 at 15:24, Wise, Jeremey wrote:
 Thanks for the update. That was the fix for that error. Now a new one.
 
 
 SnIP)***
 
 xcursorgen.c:262: warning: redundant redeclaration of
 'png_destroy_read_structure' in the same scope
 xcursorgen.c:181: warning: previous declaration of
'png_destory_read_struct'
 make[4] *** [xcursorgen.o] Error 1
 make[4] Leaving directory '/home/wisej/XFreeUpdate/xc/programs/xcursorgen'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory '/home/wisej/XFreeUpdate/xc/programs'
 ...
 
 Suggestions?
 
 Thanks,
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
 Of JD Ross
 Sent: Tuesday, January 06, 2004 12:38 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [XFree86] X 4.3.99.902 Compile error
 
 You need libncurses-dev.
 
 Jay R. Ashworth wrote:
 
 On Tue, Jan 06, 2004 at 07:06:37AM -0500, Wise, Jeremey wrote:
   
 
 gcc -m32 -o resize -O2 -fno-strength-reduce -fno-strict-aliasing -ansi
 -pedantic -Wall -Wpointer-arith
 -Wstrict-prototypes-Wmissing-prototypes
 -Wmissing-declarations -Wredundant-decls
 -Wnested-externs -Wundef -L../../exports/lib   resize.o
 xstrings.o  -lncurses -Wl,-rpath-link,../../exports/lib

/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld:
 cannot find -lncurses
 
 
 
 Normal ordinary C compilation eror -- I'm not an X Guy, and I can tell
 you how to fix it.
 
 The compile is trying to build resize, and wants the ncurses
 library... which I can't imagine *isn't* on your machine *somewhere*...
 but clearly, it's not on the search path that GCC is looking in.
 
 Locate (or install) it, and then either symlink it into a useful place,
 or modify the makefile.  (Actually, that might be the *imake*file; this
 is where you got into needs to be an Xguy territory.
 
 I think you're gonna find out you don't have it installed, as difficult
 as that is to fathom -- so *much* stuff uses curses.
 
 On second look, that error from ld seems wrong, too; it shouldn't be
 looking for -lncurses, it should be looking for libncurses.  I'm
 wondering if that's a thinko in the makefile -- perhaps the .o files
 should be at the end; there isn't anything else after xstrings.o, which
 may be confusing getargs in gcc.
 
 Noting that you're in the beta, I'm leaning towards this; I suspect
 someone hosed the makefile.
 
 Cheers,
 -- jra
   
 
 
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86
 
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86


xcursorgen.c:252: error: `height' undeclared here (not in a function)
xcursorgen.c:252: warning: initialization makes integer from pointer without a cast
xcursorgen.c:252: error: initializer element is not constant
xcursorgen.c:252: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:254: error: parse error before for
xcursorgen.c:257: warning: type defaults to `int' in declaration of `png_read_image'
xcursorgen.c:257: warning: parameter names (without types) in function declaration
xcursorgen.c:257: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:258: warning: type defaults to `int' in declaration of `png_read_end'

Re: FW: [XFree86] X 4.3.99.902 Compile error

2004-01-09 Thread David Dawes
On Fri, Jan 09, 2004 at 08:21:24AM -0500, Wise, Jeremey wrote:

Help please - failing to understand why SuSE has these problems but
Fedora and Knoppix do not. Issue is I have to use SuSE as our companies
technical contact for SuSE.

THanks,


On Tue, 2004-01-06 at 15:24, Wise, Jeremey wrote:
 Thanks for the update. That was the fix for that error. Now a new one.
 
 
 SnIP)***
 
 xcursorgen.c:262: warning: redundant redeclaration of
 'png_destroy_read_structure' in the same scope
 xcursorgen.c:181: warning: previous declaration of
'png_destory_read_struct'
 make[4] *** [xcursorgen.o] Error 1
 make[4] Leaving directory '/home/wisej/XFreeUpdate/xc/programs/xcursorgen'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory '/home/wisej/XFreeUpdate/xc/programs'
 ...
 
 Suggestions?

I don't think you have included all of the error messages, either here
or below, because they all look like noise that is a side-effect of the
real problem.

Most likely you don't have the necessary libpng devel package installed,
so the png data types and function prototypes are missing.

Either install it, or add a line to xc/config/cf/host.def to tell the build
that you don't have it:

#define HasLibpng NO

David
-- 
David Dawes X-Oz Technologies
www.XFree86.org/~dawes  www.x-oz.com

xcursorgen.c:252: error: `height' undeclared here (not in a function)
xcursorgen.c:252: warning: initialization makes integer from pointer without a cast
xcursorgen.c:252: error: initializer element is not constant
xcursorgen.c:252: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:254: error: parse error before for
xcursorgen.c:257: warning: type defaults to `int' in declaration of `png_read_image'
xcursorgen.c:257: warning: parameter names (without types) in function declaration
xcursorgen.c:257: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:258: warning: type defaults to `int' in declaration of `png_read_end'
xcursorgen.c:258: warning: parameter names (without types) in function declaration
xcursorgen.c:258: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:260: warning: type defaults to `int' in declaration of `free'
xcursorgen.c:260: warning: parameter names (without types) in function declaration
xcursorgen.c:260: error: conflicting types for `free'
/usr/include/stdlib.h:569: error: previous declaration of `free'
xcursorgen.c:260: warning: redundant redeclaration of `free' in same scope
/usr/include/stdlib.h:569: warning: previous declaration of `free'
xcursorgen.c:260: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:261: warning: type defaults to `int' in declaration of `fclose'
xcursorgen.c:261: warning: parameter names (without types) in function declaration
xcursorgen.c:261: error: conflicting types for `fclose'
/usr/include/stdio.h:208: error: previous declaration of `fclose'
xcursorgen.c:261: warning: redundant redeclaration of `fclose' in same scope
/usr/include/stdio.h:208: warning: previous declaration of `fclose'
xcursorgen.c:261: error: ISO C forbids data definition with no type or storage class
xcursorgen.c:262: error: parse error before '' token
xcursorgen.c:141: warning: `premultiply_data' defined but not used
make[4]: *** [xcursorgen.o] Error 1
make[4]: Leaving directory `/home/wisej/XFreeUpdate/xc/programs/xcursorgen'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/wisej/XFreeUpdate/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wisej/XFreeUpdate/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/wisej/XFreeUpdate/xc'
make: *** [World] Error 2
wizej:/home/wisej/XFreeUpdate/xc #

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel