![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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. |
||||
| Google The UNIX and Linux Forums |