Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-13-2006, 05:56 PM
|
#1
|
Member
Registered: Dec 2005
Location: New Jersey
Distribution: Slackware 10.2
Posts: 42
Rep:
|
Other X11 6.9.0 Errors...
Code:
In file included from xf86Ur-98.c:8:
/usr/include/sys/types.h:52: error: conflicting types for `ino_t'
/usr/include/linux/types.h:22: error: previous declaration of `ino_t'
/usr/include/sys/types.h:62: error: conflicting types for `dev_t'
/usr/include/linux/types.h:21: error: previous declaration of `dev_t'
/usr/include/sys/types.h:67: error: conflicting types for `gid_t'
/usr/include/linux/types.h:51: error: previous declaration of `gid_t'
/usr/include/sys/types.h:72: error: conflicting types for `mode_t'
/usr/include/linux/types.h:23: error: previous declaration of `mode_t'
/usr/include/sys/types.h:77: error: conflicting types for `nlink_t'
/usr/include/linux/types.h:24: error: previous declaration of `nlink_t'
/usr/include/sys/types.h:82: error: conflicting types for `uid_t'
/usr/include/linux/types.h:50: error: previous declaration of `uid_t'
/usr/include/sys/types.h:90: error: conflicting types for `off_t'
/usr/include/linux/types.h:25: error: previous declaration of `off_t'
In file included from /usr/include/sys/types.h:216,
from xf86Ur-98.c:8:
/usr/include/sys/select.h:78: error: conflicting types for `fd_set'
/usr/include/linux/types.h:20: error: previous declaration of `fd_set'
In file included from xf86Ur-98.c:13:
/usr/include/linux/joystick.h:131: error: syntax error before "__s64"
/usr/include/linux/joystick.h:135: error: syntax error before '}' token
In file included from xf86Ur-98.c:13:
/usr/include/linux/joystick.h:142:2: #error Unexpected BITS_PER_LONG
make[7]: *** [xf86Ur-98.o] Error 1
make[7]: Leaving directory `/home/spencer/downloads/X11/build/programs/Xserver/h w/xfree86/input/ur98'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/spencer/downloads/X11/build/programs/Xserver/h w/xfree86/input'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/spencer/downloads/X11/build/programs/Xserver/h w/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/home/spencer/downloads/X11/build/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/spencer/downloads/X11/build/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/spencer/downloads/X11/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/spencer/downloads/X11/build'
make: *** [World] Error 2
I'm confused...
|
|
|
05-14-2006, 12:36 PM
|
#2
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
I'm confused too... Why didn't you include more relevant information about your problem? For example, how are you trying to build X? What commands did you run? Do you even have a UR-F98 headtracker?
|
|
|
05-14-2006, 02:46 PM
|
#3
|
Member
Registered: Dec 2005
Location: New Jersey
Distribution: Slackware 10.2
Posts: 42
Original Poster
Rep:
|
I ran
Code:
sed -i '/CONFIG_H/i #include <linux/types.h>' programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c
before starting the compile (see this). Other than that it was just a normal make. I don't know what the relevant information is, so I posted the error. And I don't know what a UR-F98 headtracker is, sorry :\
[edit]
Incidentally, the joystick bits were not entirely excluded from the compile?
|
|
|
05-16-2006, 06:46 AM
|
#4
|
Member
Registered: Dec 2005
Location: New Jersey
Distribution: Slackware 10.2
Posts: 42
Original Poster
Rep:
|
*bump*
Anyone?
|
|
|
05-17-2006, 02:08 AM
|
#5
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
Ah, please realise that it was unlikely that many people read your previous post, or remembered it for this one.
When you say "normal make" do you mean you tried building X like you would most other programs, or do you mean you followed the instructions in the BUILD file? In other words, starting from the directory xc:
Code:
mkdir ../build
cd ../build
lndir ../xc
make World > World.log 2>&1
tail World.log
su
make install
make install.man
Naturally "tail World.log" is to see if there were any errors, and you have to su to install.
|
|
|
05-17-2006, 09:28 AM
|
#6
|
Member
Registered: Dec 2005
Location: New Jersey
Distribution: Slackware 10.2
Posts: 42
Original Poster
Rep:
|
Quote:
Originally Posted by ciotog
Ah, please realise that it was unlikely that many people read your previous post, or remembered it for this one.
When you say "normal make" do you mean you tried building X like you would most other programs, or do you mean you followed the instructions in the BUILD file? In other words, starting from the directory xc:
Code:
mkdir ../build
cd ../build
lndir ../xc
make World > World.log 2>&1
tail World.log
su
make install
make install.man
Naturally "tail World.log" is to see if there were any errors, and you have to su to install.
|
I followed the instructions in BUILD, but only got as far as
Code:
mkdir build
lndir xc/ build/
cd build/ && make World > World.log 2>&1
In another window I did tail. But make World etc.. fails, so I can't even get to install.
|
|
|
All times are GMT -5. The time now is 01:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|