04-16-2008
c++ compilation error
Hello every one,
here i am attempting to compile a c++ module using gcc.it is throwing a error .
error:
====
> make -S dummyCHARGP
/usr/local/bin/gcc -g -DDEBUG -DMAT -I. -I/swtemp/usbs/cc/unix-ce/root/subsys/lib/Linux/ -I/opt/dce/include -I/opt/dce/include/dce -I/swtemp/usbs/cc/unix-ce/root/subsys/cb/cdbc/include -I/swtemp/usbs/cc/unix-ce/root/subsys/include -I/swtemp/usbs/cc/unix-ce/root/3pp/include/Linux -I/swtemp/usbs/cc/unix-ce/root/3pp/include/ -DSNACC_DEEP_COPY -I/swtemp/usbs/cc/unix-ce/root/subsys/cb/cdbc/obj_0001/Linux -g -c -DUSE_FREE_DCE -D_GNU_SOURCE -DLINUX -DIDL_CHAR_IS_CHAR -D_REENTRANT -fsigned-char -DCXX_VERSION= -DSNACC_DEEP_COPY -D_GLIBCPP__DCE_THREADS -c -o /swtemp/usbs/cc/unix-ce/root/subsys/cb/cdbc/obj_0001/Linux/cdbm_dummy.o
gcc: no input files
*** Error exit code 1
can somebody helps me regarding this issue.I am searching for the same on internet,but no information.
withregardds,
mannam
10 More Discussions You Might Find Interesting
1. Programming
Hi All,
I facing the following compilation error; when I implementing the following logic.
ostrstream ostr;
ostr << (( scAxsm.getRecord( i ).getField( 2 ).getShort())%12)!=0?(( scAxsm.getRecord( i ).getField( 2 ).getShort())/12+1)
: (( scAxsm.getRecord( i ).getField( 2 ).getShort())/12) <<... (1 Reply)
Discussion started by: sweta
1 Replies
2. Programming
Hi,
While trying compile a C++ file in UNIX with gcc whose make rule involves the usage of
/usr/ccs/bin/as, I get the following error:
/usr/ccs/bin/as: No such file or directory
/usr/ccs/bin/as: error: write error on output file "<filename>.o"
*** Error code 1
clearmake: Error: Build... (2 Replies)
Discussion started by: smanu
2 Replies
3. Programming
I am compiling a software xchm on solaris 10.
First i run './configure'
There is no error.
But when i start compiling using 'gmake'
following error shown
/usr/local/include/wx-2.6/wx/x11/brush.h: In copy constructor `wxBrush::wxBrush(const wxBrush&)':... (3 Replies)
Discussion started by: mansoorulhaq
3 Replies
4. Solaris
Hi All,
while building, i am receiving the following error......
Undefined first referenced
symbol in file
void os_directory::create(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency... (2 Replies)
Discussion started by: vinod_kumar_k
2 Replies
5. HP-UX
hello everyone,
here i am attempting to compile a c++ submodule.OS is HP-UX.
here i am getting the following error.
======================================
"Make: Don't know how to make compile. Stop."
===================================
could you pls somebody suggest why this error is... (2 Replies)
Discussion started by: mannam srinivas
2 Replies
6. UNIX for Dummies Questions & Answers
state_field state_abvr = {
"AL","ALABAMA",
"AK","ALASKA",
"AZ","ARIZONA",
"AR","ARKANSAS",
"CA","CALIFORNIA",
"CO","COLORADO",
"CT","CONNECTICUT",
"DE","DELAWARE",
"DC","DISTRICT-OF-COLUMBIA",
"FL","FLORIDA",
"GA","GEORGIA",
"HI","HAWAII",
"ID","IDAHO",
"IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies
7. Programming
state_field state_abvr = {
"AL","ALABAMA",
"AK","ALASKA",
"AZ","ARIZONA",
"AR","ARKANSAS",
"CA","CALIFORNIA",
"CO","COLORADO",
"CT","CONNECTICUT",
"DE","DELAWARE",
"DC","DISTRICT-OF-COLUMBIA",
"FL","FLORIDA",
"GA","GEORGIA",
"HI","HAWAII",
"ID","IDAHO",
"IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies
8. Programming
Hi,
Recently our codes have been migrated to new server, whenever we compile any pro*c programs we receive the following
errorl. please help
>> make -f lib_util.mk all
CC= ucbcc 4Compiling lib_util
### command line files and options (expanded):
### -xO3 -DNULL=0 -v -o lib_util.o... (0 Replies)
Discussion started by: satvd
0 Replies
9. Shell Programming and Scripting
Hi,
Recently our codes have been migrated to new server, whenever we compile any pro*c programs we receive the following
errorl. please help
>> make -f lib_util.mk all
CC= ucbcc 4Compiling lib_util
### command line files and options (expanded):
### -xO3 -DNULL=0 -v -o lib_util.o... (1 Reply)
Discussion started by: satvd
1 Replies
10. Programming
I am getting the below given errors for the following program though all the variables have been declared and used appropriately. Please Help. The environment is AIX.
Error:
------
"gbsizeprofile.c", line 67.4: 1506-275 (S) Unexpected text 'void' encountered.
"gbsizeprofile.c", line 67.10:... (2 Replies)
Discussion started by: yschd
2 Replies
LEARN ABOUT DEBIAN
trampoline
TRAMPOLINE(3) Library Functions Manual TRAMPOLINE(3)
NAME
trampoline - closures as first-class C functions
SYNOPSIS
#include <trampoline.h>
function = alloc_trampoline(address, variable, data);
free_trampoline(function);
is_trampoline(function)
trampoline_address(function)
trampoline_variable(function)
trampoline_data(function)
DESCRIPTION
These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets
passed to the C function when the closure is called.
Closures as first-class C functions means that they fit into a function pointer and can be called exactly like any other C function. func-
tion = alloc_trampoline(address, variable, data) allocates a closure. When function gets called, it stores data in the variable variable
and calls the C function at address. The function at address is responsible for fetching data out of variable immediately, before execu-
tion of any other function call.
This is much like gcc's local functions, except that the GNU C local functions have dynamic extent (i.e. are deallocated when the creating
function returns), while trampoline provides functions with indefinite extent: function is only deallocated when free_trampoline(function)
is called.
is_trampoline(function) checks whether the C function function was produced by a call to alloc_trampoline. If this returns true, the argu-
ments given to alloc_trampoline can be retrieved:
trampoline_address(function) returns address,
trampoline_variable(function) returns variable,
trampoline_data(function) returns data.
SEE ALSO
gcc(1), varargs(3), callback(3)
BUGS
Passing the data through a global variable is not reentrant. Don't call trampoline functions from within signal handlers. This is fixed in
the callback(3) package.
PORTING
The way gcc builds local functions is described in the gcc source, file gcc-2.6.3/config/cpu/cpu.h.
AUTHOR
Bruno Haible <bruno@clisp.org>
ACKNOWLEDGEMENTS
Many ideas were cribbed from the gcc source.
25 October 1997 TRAMPOLINE(3)