Sponsored Content
Top Forums Programming compile xev on HPUX 10.20 - errors Post 21453 by PxT on Thursday 16th of May 2002 12:22:04 PM
Old 05-16-2002
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.
 

10 More Discussions You Might Find Interesting

1. Programming

Why won't this compile on HPUX?

typedef struct { struct timeval t1; struct timeval time; } timer_t; cc: "timer.h", line 9: error 1584: Inconsistent type declaration: "timer_t". It compiles fine with gcc...:confused: Thanks for the help. (3 Replies)
Discussion started by: clockworks
3 Replies

2. UNIX for Dummies Questions & Answers

Compile and dump errors to a text file

Hi there, I want to compile a program and dump errors to a text file. How could I do so..? Thanks for reading and thanks in advance!!! (6 Replies)
Discussion started by: starstarting
6 Replies

3. AIX

Compile errors because of the ras.h file

I recently compile some code in 32 bit mode on a AIX 5.3 server that has its kernal set to 64 bit mode. The compile was successful and the code works great. That being the case I use the model of the successful makefile on some other code but ended up getting errors that looked like this...... ... (2 Replies)
Discussion started by: morrisey
2 Replies

4. Programming

Not able to compile Pro*c file due - give errors and points to /usr/include/.. file

I am trying to compile the pro*C file but gives errors. It says it encountered "std" while it was expecting ; , = ( $ $ORACLE_HOME/bin/proc tradewind/dataaccess/Blob.pcc Pro*C/C++: Release 10.2.0.3.0 - Production on Fri May 9 11:10:54 2008 Copyright (c) 1982, 2005, Oracle. All rights... (0 Replies)
Discussion started by: shafi2all
0 Replies

5. Solaris

Errors trying to compile PHP for use with MySQL on Solaris 10

have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build: ./configure --prefix=/usr/local/php5 \... (2 Replies)
Discussion started by: sunsysadm2003
2 Replies

6. Solaris

Compile errors on Solaris 10 (missing libwrap)

I'm trying to compile tacacs+-F4.0.4.18 on Solaris 10 (sparc based server). It fails during the "./configure" phase with the following error: checking whether to use libwrap... yes configure: error: Could not find libwrap. You must first install tcp_wrappers. I do a have tcpwrappers... (4 Replies)
Discussion started by: pingmeback
4 Replies

7. Programming

compile errors with gcc4.1.2 in rhel5.5

Hi All, My test code ldap_test.c can be compiled successfully with gcc2.95.2. But not gcc 4.1.2 in redhat5.5. The command I used and the output are: #gcc -fPIC -shared -o lib_ldap_rhel.so ldap_test.c /usr/include/ldap.h:179: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âtypedefâ... (2 Replies)
Discussion started by: rluo
2 Replies

8. UNIX Desktop Questions & Answers

Xev can't detect Caps_lock

Hi: I am trying to remap Caps_lock to something else but just encountered an unexpected issue: the xwindows can't even detect Caps_lock. I tried with xev, there was no events shown when Caps_lock key was toggled. the key itself still works though, meaning it does toggle the... (2 Replies)
Discussion started by: phil518
2 Replies

9. HP-UX

Compile krb5-appl 1.0.3 on hpux

asprintf.c: In function 'vasprintf': asprintf.c:58: error: 'SIZE_MAX' undeclared (first use in this function) asprintf.c:58: error: (Each undeclared identifier is reported only once asprintf.c:58: error: for each function it appears in.) Someone know how to fix? Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

10. HP-UX

Compile sendmail on hpux

The sendmail on hp site is too old,and still support the bugged ssl3(poodle) even if enable tlsv1. So i decide to compile sendmail by myself i use this site.config.m4 define(`confCClibsmi', `gcc -fPIC') define(`confCC',`/usr/local/bin/gcc -fPIC') define(`confOPTIMIZE', ` -O3')... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
GENASSYM(1)						    BSD General Commands Manual 					       GENASSYM(1)

NAME
genassym -- emit an assym.h file SYNOPSIS
genassym [-c] [-f] C compiler invocation DESCRIPTION
genassym is a shell script normally used during the kernel build process to create an assym.h file. This file defines a number of cpp con- stants derived from the configuration information genassym reads from stdin. The generated file is used by kernel sources written in assem- bler to gain access to information (e.g. structure offsets and sizes) normally only known to the C compiler. Arguments to genassym are usually of the form ${CC} ${CFLAGS} ${CPPFLAGS} where ${CC} is the C compiler used to compile the kernel, while ${CFLAGS} and ${CPPFLAGS} are flag arguments to the C compiler. The script creates a C source file from its input. Then the C compiler is called according to the script's arguments to compile this file. Normally genassym instructs the C compiler to create an assembler source from the constructed C source. The resulting file is then processed to extract the information needed to create the assym.h file. The -c flag instructs genassym to create slightly different code, generate an executable from this code and run it. In both cases the assym.h file is written to stdout. The -f flag instructs genassym to create forth code. DIAGNOSTICS
Either self-explanatory, or generated by one of the programs called from the script. SEE ALSO
genassym.cf(5) HISTORY
The genassym command appeared in NetBSD 1.3 as ``genassym.sh'' in /usr/src/sys/kern. It became a userland utility in NetBSD 4.0. BSD
April 13, 2010 BSD
All times are GMT -4. The time now is 09:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy