[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DDL-ML] ddl kompilation für suse 7.0
puesch wrote:
make -C clients/j-man install
make[1]: Entering directory `/usr/local/ddlsrc/ddl/clients/j-man'
javac -deprecation MainFrame.java
javac -deprecation jman.java
make -C gameport
make[2]: Entering directory
`/usr/local/ddlsrc/ddl/clients/j-man/gameport'
gcc -c gameport_GameportHandler.c -I/opt/JAVA/jdk-1.3/include
-I/opt/JAVA/jdk-1.3/include/linux
Wenn Deine Java-Installation nicht in /opt/JAVA/jdk-1.3/
liegt, dann musst Du hier den Pfad aendern ...
In file included from gameport_GameportHandler.c:1:
gameport_GameportHandler.h:2: jni.h: Datei oder Verzeichnis nicht
gefunden
... damit dieser Fehler nicht auftritt.
bash-2.04# cd /usr/local/ddlsrc/ddl/clients/nmra-programmer/
bash-2.04# make
gcc updversion.c -o updversion
./updversion -c
gcc nmra-programmer.c -o nmra-programmer -lreadline -lhistory
/usr/lib/libreadline.so: undefined reference to `tgetnum'
/usr/lib/libreadline.so: undefined reference to `tgoto'
/usr/lib/libreadline.so: undefined reference to `tgetflag'
/usr/lib/libreadline.so: undefined reference to `BC'
/usr/lib/libreadline.so: undefined reference to `tputs'
/usr/lib/libreadline.so: undefined reference to `PC'
/usr/lib/libreadline.so: undefined reference to `tgetent'
/usr/lib/libreadline.so: undefined reference to `UP'
/usr/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make: *** [nmra-programmer] Error 1
Fehler beim linken des Programmes. Da fehlt im Makefile die
Angabe einer Bibiliothek. Ich vermute mal die libcurses. Also
im Makefile an geeigneter Stelle -lcurses hinzufügen.
Beim uhl-programmer genauso.
bash-2.04# cd /usr/local/ddlsrc/ddl/clients/ddsh/
bash-2.04# make
./updversion -c
gcc -I./interpreter -I./stdiplibs -I/usr/include/g++ -DCOM_UNIX
-DHASREADLINE -
c -o ddsh.o ddsh.cc
In file included from interpreter/ownhead.h:129,
from interpreter/interfac.h:22,
from ddsh.cc:2:
interpreter/xmemohdl.h:106: ANSI C++ forbids declaration `Copy' with no
type
In file included from interpreter/ownhead.h:130,
from interpreter/interfac.h:22,
from ddsh.cc:2:
In file included from interpreter/ownhead.h:132,
from interpreter/interfac.h:22,
from ddsh.cc:2:
interpreter/xlisthdl.h:194: ANSI C++ forbids declaration `Top' with no
type
In file included from interpreter/ownhead.h:133,
from interpreter/interfac.h:22,
from ddsh.cc:2:
interpreter/xtypehdl.h:237: ANSI C++ forbids declaration `Delete' with
no type
In file included from interpreter/ownhead.h:136,
from interpreter/interfac.h:22,
from ddsh.cc:2:
interpreter/xframhdl.h:268: ANSI C++ forbids declaration `Input' with no
type
interpreter/xframhdl.h:272: ANSI C++ forbids declaration `Output' with
no type
In file included from interpreter/ownhead.h:145,
from interpreter/interfac.h:22,
from ddsh.cc:2:
interpreter/xobjchdl.h:56: using typedef-name `pToken' after `struct'
interpreter/xobjchdl.h:61: using typedef-name `pToken' after `struct'
interpreter/xobjchdl.h:63: using typedef-name `pToken' after `struct'
interpreter/xobjchdl.h:65: using typedef-name `pToken' after `struct'
make: *** [ddsh.o] Error 1
Ach herrjeh. Lassen wir es bei ddsh mal gut sein. Der C++-Compiler scheint
den Code nicht zu verstehen. Der groesste Teil des ddsh-Codes ist schon
6 oder 7 Jahre alt. In der Zwischenzeit hat sich bei C++ einiges getan.
Ich empfehle bereits seit einiger Zeit anstatt ddsh besser rcsh
einzusetzen. rcsh arbeitet mit modernen Tools und wird gepflegt.
Torsten
--
Torsten Vogt, Diplom Wirtschaftsinformatiker
SW-Entwicklung, IT-Beratung, Schulung, WWW-Anwendungen und E-Commerce
Tel: 06322/948736 Fax: 06322/948737 Mail: vogt@vogt-it.com
WWW: http://www.vogt-it.com