The example helloworld.cpp gives me the same error.
Here is my makefile.

What's wrong

Pierre

JDK = /usr/local/jdk1.2.2

REP_INC = -I$(JDK)/include \
          -I$(JDK)/include/linux

REP_LIB = -L$(JDK)/lib/i386 \
          -L$(JDK)/jre/lib/i386 \
          -L$(JDK)/jre/lib/i386/classic \
          -L$(JDK)/jre/lib/i386/green_threads \
          -L$(JDK)/jre/lib/i386/native_threads

LIBS = -ljava

all : Invoke

Invoke : helloworld.o
 g++ -g $(REP_INC) $(REP_LIB) helloworld.o -o Invoke $(LIBS)

helloworld.o : helloworld.cpp
 g++ -g -c $(REP_INC) helloworld.cpp

clean :
 rm -f *.o core



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to