CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:


New User

Jun 16, 2013, 6:59 PM

Post #1 of 1 (951 views) Can't Post

I have a program that needs
I run perl under Ubuntu 12.04
After configuring the Makefile 'make' gives the following error:

root@reica3:/home/rein/Downloads/Tk-804.027# make
cd pTk && make DEFINE=""
make[1]: Entering directory `/home/rein/Downloads/Tk-804.027/pTk'
cc -c -I.. -I. -Ibitmaps -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" -fPIC "-I/usr/lib/perl/5.14/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib_f.c
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for ‘XKeycodeToKeysym’
/usr/include/X11/Xlib.h:1695:15: note: previous declaration of ‘XKeycodeToKeysym’ was here
make[1]: *** [Xlib_f.o] Error 1
make[1]: Leaving directory `/home/rein/Downloads/Tk-804.027/pTk'
make: *** [pTk/libpTk.a] Error 2

Since I am a total beginner as far as perl is concerned I am at a loss how to solve this problem.
Can anyone help me out?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives