The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Not able to compile Pro*c file due - give errors and points to /usr/include/.. file shafi2all High Level Programming 0 05-08-2008 11:27 PM
Compile errors because of the ras.h file morrisey AIX 2 04-11-2008 09:54 AM
Compile and dump errors to a text file starstarting UNIX for Dummies Questions & Answers 6 10-23-2006 05:45 AM
Adapter Errors and Link Errors mcastill66 UNIX for Advanced & Expert Users 0 08-02-2005 03:11 PM
Why won't this compile on HPUX? clockworks High Level Programming 3 11-19-2004 10:07 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-15-2002
lan lan is offline
Registered User
 

Join Date: May 2002
Posts: 1
Question compile xev on HPUX 10.20 - errors

Hello,

i compiled the program xev under HPUX 10.20 and there are a lot of errors like this. Can anybody help me to fix this errors?

make xev
cc -O xev.c -o xev
/usr/ccs/bin/ld: Unsatisfied symbols:
XFree (code)
XKeysymToString (code)
XSelectInput (code)
XOpenDisplay (code)
XCreateSimpleWindow (code)
XGetWindowAttributes (code)
XCloseDisplay (code)
XRefreshKeyboardMapping (code)
XMapWindow (code)
XSetStandardProperties (code)
XParseGeometry (code)
XCreateWindow (code)
XGetAtomName (code)
XDisplayName (code)
XLookupString (code)
XNextEvent (code)
*** Error exit code 1

many thanks
Reply With Quote
Forum Sponsor
  #2  
Old 05-16-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
This works for me on 11.00, you may have to modify slightly for 10.20.


gcc -o xev xev.c -DSVR4 -DSYSV -DFUNCPROTO=15 -L/usr/lib/X11R6 -lX11


BTW, you should not use the bundled compiler (cc) for general development. It is a crippled compiler which is only included so that you may rebuild your kernel if necessary. Use the ansi compiler or (preferably) gcc.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0