The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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-09-2008 02:27 AM
Compile errors because of the ras.h file morrisey AIX 2 04-11-2008 12:54 PM
Compile and dump errors to a text file starstarting UNIX for Dummies Questions & Answers 6 10-23-2006 08:45 AM
Adapter Errors and Link Errors mcastill66 UNIX for Advanced & Expert Users 0 08-02-2005 06:11 PM
Why won't this compile on HPUX? clockworks High Level Programming 3 11-19-2004 01:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
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
  #2 (permalink)  
Old 05-16-2002
PxT's Avatar
PxT PxT is offline Forum Advisor  
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0