10-14-2009
I seem to recall that you need
#include <time.h>
instead of (maybe in addition to)
#include <sys/time.h>
10 More Discussions You Might Find Interesting
1. Solaris
I am compiling a software named wine
When i run make then at the end following error generated.
DVAPI32_ -foversion.res version.rc
ld.so.1: ../../tools/wrc/wrc: fatal: relocation error: file ../../tools/wrc/wrc: symbol wine_casemap_upper: referenced symbol not found
*** Signal 9
make:... (0 Replies)
Discussion started by: mansoorulhaq
0 Replies
2. Programming
i have a class name 1.c in tht i am using function n wich has his body in 2.c and declaration in 2.h
now how can i compile 1.c.
ex;
1.c
int main()
{
//some data
n(10);
//somedata
}
*****
2.c
int n(int k)
{
//some data
}
int main()
{
some data (2 Replies)
Discussion started by: phani_sree
2 Replies
3. Programming
Hi,
I'm porting code from Windows to HP-UX 11, compiling with gcc.
I have a call to semtimedop with 4 arguments as in the definition:
int semtimedop(int, struct sembuf *, unsigned int, const struct timespec *);
When compiling I get an error saying:
error: 'semtimedop' was not declared in... (3 Replies)
Discussion started by: rimon
3 Replies
4. Programming
Hi,
Environment : HP-UX avalon B.11.11 U 9000/800 3547052374 unlimited-user license
aCC version :aCC: HP ANSI C++ B3910B A.03.37
I need to find a way out of this errors.can anyone help me .
$ aCC db.cc -I$ORACLE_HOME/rdbms/public -I/disk1/oracle/product/10.2.0.2/*
Error (future)... (1 Reply)
Discussion started by: varuntayur
1 Replies
5. Solaris
Hello life savers,
I'm having trouble compiling a specific program. The program was originally written for gcc and was compiled successfully under it. When trying to compile under Solaris 11, I get this error:
"Hashtable.h", line 170: Error: Could not find a match for hash needed in... (2 Replies)
Discussion started by: yp515
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
This is my first post to this forum. I have been facing a strange compilation error message. When I try to make a pro*C file on HP-UX ( uname -a shows HP-UX aopc7449 B.11.11 U 9000/800 2416083493 unlimited-user license),
::: Linking...
/usr/ccs/bin/ld: profls.o: Not a valid object file... (5 Replies)
Discussion started by: asutoshch
5 Replies
7. AIX
hi, I first want to apologize for my poor english !
I'm a newbe on Unix system and I have to install NRPE on an AIX 5.3.
I have downloaded the NRPE Source code and i need to compile them...
the problem is, when I do a:
./configure --enable-command-args --disable-ssl
it returns me :... (1 Reply)
Discussion started by: Cyr1us
1 Replies
8. AIX
Hi,
I am executing the below mentioned code:-
proc SQLCHECK=SEMANTICS iname=CDBInteractor.pc parse=none code=cpp cpp_suffix=cpp
g++ -c main.cpp
g++ -o pre_request_engine main.o -I/oracle/oracle/app/product/10g/precomp -L/oracle/oracle/app/product/10g/lib32 -lnsl -ldl
And... (2 Replies)
Discussion started by: tushar_tus
2 Replies
9. Programming
Hello everyone,
I'm trying since a few days to compile a f90 program with gfortran (on Ubuntu) with a makefile. The fortran program calls 2 routines written in C.
Here is my makefile:
FC = gfortran
SFC = gfortran
FFLAGS = -ffree-form -O... (21 Replies)
Discussion started by: leroygr
21 Replies
10. Programming
I am getting confused compiling a program that gives me the following error
../../../tomso/algeb/vector.hpp:19:9: error: ‘Vector' does not name a type
typedef Vector<float> Vecflt; (1 Reply)
Discussion started by: kristinu
1 Replies
LEARN ABOUT SUNOS
libtecla
libtecla(3LIB) Interface Libraries libtecla(3LIB)
NAME
libtecla - interactive command line input library
SYNOPSIS
cc [ flag... ] file... -ltecla [ library... ]
#include <libtecla.h>
DESCRIPTION
This library provides programs with interactive command line editing facilities, similar to those of the UNIX tcsh shell. In addition to
simple command-line editing, it supports recall of previously entered command lines, TAB completion of file names or other tokens, and in-
line wildcard expansion of filenames. The internal functions that perform file-name completion and wild-card expansion are also available
externally for optional use by the calling program.
Thread Safety
The terminfo functions setupterm(3CURSES), tigetstr(3CURSES), tigetnum(3CURSES), and tputs(3CURSES) are not reentrant. This condition, how-
ever, should not prevent use of this library in threaded applications, since few applications will want to interact with multiple termi-
nals.
INTERFACES
The shared object libtecla.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
cfc_file_start cfc_literal_escapes
cfc_set_check_fn cpl_add_completion
cpl_check_exe cpl_complete_word
cpl_file_completions cpl_last_error
cpl_list_completions cpl_recall_matches
cpl_record_error del_CplFileConf
del_ExpandFile del_GetLine
del_PathCache del_PcaPathConf
del_WordCompletion ef_expand_file
ef_last_error ef_list_expansions
gl_abandon_line gl_append_history
gl_automatic_history gl_bind_keyseq
gl_catch_blocked gl_change_terminal
gl_clear_history gl_completion_action
gl_configure_getline gl_customize_completion
gl_display_text gl_echo_mode
gl_erase_terminal gl_error_message
gl_get_line gl_group_history
gl_handle_signal gl_ignore_signal
gl_inactivity_timeout gl_io_mode
gl_last_signal gl_limit_history
gl_list_signals gl_load_history
gl_lookup_history gl_normal_io
gl_pending_io gl_prompt_style
gl_query_char gl_range_of_history
gl_raw_io gl_read_char
gl_register_action gl_replace_prompt
gl_resize_history gl_return_status
gl_save_history gl_set_term_size
gl_show_history gl_size_of_history
gl_state_of_history gl_terminal_size
gl_toggle_history gl_trap_signal
gl_tty_signals gl_watch_fd
libtecla_version new_CplFileConf
new_ExpandFile new_GetLine
new_PathCache new_PcaPathConf
new_WordCompletion pca_last_error
pca_lookup_file pca_path_completions
pca_scan_path pca_set_check_fn
ppc_file_start ppc_literal_escapes
FILES
/usr/lib/libtecla.so.1 shared object
/usr/lib/64/libtecla.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
enhance(1), intro(3), cpl_complete_word(3TECLA), ef_expand_file(3TECLA), gl_get_line(3TECLA), gl_io_mode(3TECLA), pca_lookup_file(3TECLA),
attributes(5), tecla(5)
SunOS 5.10 1 Jun 2004 libtecla(3LIB)