compilation error

Hello every one,


here i am attempting to compile a c++ submodule.OS is HP-UX.

here i am getting the following errors.

1)
======================================
"Make: Don't know how to make compile. Stop."
===================================


2)
> 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



could you pls somebody suggest why this error is causing.

I suppose this is a common error.it's very urgent waiting for u r reply....


with regards,
sri
You have all of those options but no source files were specified. To simplify things, try running this:
/usr/local/bin/gcc -c -o blah.o

You should get the same error. It is looking for something like this (don't run this since you most likely don't have a blah.c file to compile):
/usr/local/bin/gcc -c -o blah.o blah.c

Notice the source file? It means the Makefile either didn't get generated properly or the Makefile generation is bugged. If that is the case, you'll need to edit it yourself. I'm sure that using those directories and the output file name (..../Linux/cdbm_dummy.o), you can find cdbm_dummy.c or cdbm_dummy.cpp or whatever the file is (search for cdbm_dummy* until you find the directory it is in).
Last edited on
Topic archived. No new replies allowed.