LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-14-2010, 07:43 PM   #1
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
Can't compile linuxwacom on 64 -current


The slackbuild for linuxwacom is failing to build 0.8.4-4 and 0.8.5-11. I have tried with Kernels 2.6.33 and 2.6.29.6, both custom. I am running Slackware64 -current with Alien Bobs KDE 4.4.1 packages


The meat of the problem:
Code:
make[2]: Entering directory `/tmp/SBo/linuxwacom-0.8.5-11/src/xdrv'
gcc -O2 -fPIC -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -D__amd64__ -I/usr/include  -fPIC -pipe -std=c99 \
		-pedantic -Wall -Wpointer-arith -fno-merge-constants \
		-fno-stack-protector -I. -I../include -I/usr/include/xorg   \
		-D_XSERVER64 -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1   \
		-o xf86Wacom.o -c ./xf86Wacom.c
In file included from ./xf86Wacom.h:27,
                 from ./xf86Wacom.c:103:
/usr/include/xorg/xorg-server.h:183:1: warning: "XFree86LOADER" redefined
In file included from ./xf86Wacom.h:25,
                 from ./xf86Wacom.c:103:
./../include/xdrv-config.h:12:1: warning: this is the location of the previous definition
In file included from ./xf86Wacom.h:176,
                 from ./xf86Wacom.c:103:
./xf86WacomDefs.h:134:1: warning: "MAX_BUTTONS" redefined
In file included from /usr/include/xorg/xf86str.h:38,
                 from /usr/include/xorg/xf86.h:46,
                 from ./xf86Wacom.h:85,
                 from ./xf86Wacom.c:103:
/usr/include/xorg/input.h:79:1: warning: this is the location of the previous definition
./xf86Wacom.c: In function 'xf86WcmRegisterX11Devices':
./xf86Wacom.c:410: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
/usr/include/xorg/input.h:274: note: expected 'Atom *' but argument is of type 'CARD8 *'
./xf86Wacom.c:410: error: too few arguments to function 'InitButtonClassDeviceStruct'
./xf86Wacom.c:450: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
/usr/include/xorg/input.h:280: note: expected 'Atom *' but argument is of type 'int'
./xf86Wacom.c:450: error: too few arguments to function 'InitValuatorClassDeviceStruct'
./xf86Wacom.c:492: warning: implicit declaration of function 'InitKeyClassDeviceStruct'
./xf86Wacom.c:500: warning: implicit declaration of function 'InitKbdFeedbackClassDeviceStruct'
./xf86Wacom.c:531: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:536: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:537: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:545: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:546: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:552: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:553: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:561: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:566: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:570: error: too few arguments to function 'InitValuatorAxisStruct'
make[2]: *** [xf86Wacom.o] Error 1
make[2]: Leaving directory `/tmp/SBo/linuxwacom-0.8.5-11/src/xdrv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/linuxwacom-0.8.5-11/src'
make: *** [all-recursive] Error 1
The complete log:
buildlog.txt

Thanks in advance,
Eric
 
Old 04-10-2010, 06:35 PM   #2
in_texas_dallas
Member
 
Registered: Sep 2009
Location: DFW
Distribution: Debian Lenny
Posts: 38

Rep: Reputation: 17
http://ubuntuforums.org/showthread.php?t=1321238

I don't use Slackware, so I can't tell you what commands to use. Follow the instructions in the ORIGINAL post as exactly as you can per you distribution. BEFORE you begin though, I'd recommend you install a package that is named F2C that ALSO installs another package that is called "F77" or "G77". Searching for those may or may not get you what you need. It is a prerequisite. You also need build-essentials, gcc, to be able to make/make install... etc.

I don't know how savvy a Linux user you are, but try installing build-essentials, F2C before you follow the instructions.

Try searching the above thread for any posts relating to 64 bit installation as well.

Good Luck
 
Old 04-11-2010, 12:06 PM   #3
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
The problem was that I needed xf86-input-wacom for my newer version of Xorg. I had forgotten this post or I would have posted a solution.
 
Old 04-11-2010, 12:53 PM   #4
in_texas_dallas
Member
 
Registered: Sep 2009
Location: DFW
Distribution: Debian Lenny
Posts: 38

Rep: Reputation: 17
Talking

Quote:
Originally Posted by em21701 View Post
The problem was that I needed xf86-input-wacom for my newer version of Xorg. I had forgotten this post or I would have posted a solution.
Excellent!! In the future, I would highly recommend you follow the very first post in the thread I linked. They OP of that thread constantly updates that post with the latest build information.
 
Old 05-14-2010, 04:33 PM   #5
gbus
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Hello, I'm experiencing exactly the same problem on F12, but I didn't understand how you have solved!
I also have a very new Xorg installation but I don't understand what I have to do with "xf86-input-wacom".
Please, can you be so kind to give more details on the solution?
Thanks
 
Old 05-15-2010, 07:08 PM   #6
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
All I did was build and install xf86-input-wacom from the linux wacom site and all was suddenly well. The old linux wacom does not work on the newer X servers.
 
Old 05-16-2010, 02:15 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Um, xf86-input-wacom is included in -current now (it will be part of 13.1).
 
Old 05-16-2010, 08:03 PM   #8
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Original Poster
Rep: Reputation: 40
I noticed during the last update thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCV 2.0 compile error in -current mlpa Slackware 17 01-06-2011 05:17 AM
[SOLVED] Firefox fails to compile on -current Daedra Slackware 7 01-16-2010 09:08 PM
Can't Compile VirtualBox 1.6.6 In Slackware Current Woodsman Slackware 8 12-18-2008 02:36 PM
LinuxWacom Volito2 on SuSE 10.2 not working. E211 Linux - Hardware 0 03-12-2007 03:04 PM
cannot compile programs in -current w/ 2.6.x zefo Slackware 7 04-29-2006 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration