Sun 24 Jul 2011 01:40:09 PM UTC, original submission:
I am using Gentoo with GCC 4.6. That version will cont compile with GCC 4.6 as the fix for crypto++ is only in cvs. Therefore I tried that but I fail with this error for the past two weeks. Any hints?
I have installed: dev-lang/ocaml-3.12.1
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/daemon/driver/driverInteractive.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTProtocol.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTTorrent.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTGlobals.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTComplexOptions.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTTracker.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTChooser.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTStats.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTClients.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/daemon/driver/driverCommands.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTInteractive.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/networks/bittorrent/bTMain.ml
ocamlopt.opt -inline 10 -a -o build/core.cmxa -ccopt "-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" src/networks/bittorrent/bencode.cmx src/networks/bittorrent/bTRate.cmx src/networks/bittorrent/bTTypes.cmx src/networks/bittorrent/bTOptions.cmx src/networks/bittorrent/bTUdpTracker.cmx src/networks/bittorrent/bTProtocol.cmx src/networks/bittorrent/bTTorrent.cmx src/networks/bittorrent/kademlia.cmx src/networks/bittorrent/bT_DHT.cmx src/networks/bittorrent/bTGlobals.cmx src/networks/bittorrent/bTComplexOptions.cmx src/networks/bittorrent/bTStats.cmx src/networks/bittorrent/bTTracker.cmx src/networks/bittorrent/bTChooser.cmx src/networks/bittorrent/bTClients.cmx src/networks/bittorrent/bTInteractive.cmx src/networks/bittorrent/bTMain.cmx
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/daemon/driver/driverControlers.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/daemon/driver/driverInterface.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c src/daemon/driver/driverMain.ml
ocamlopt.opt -inline 10 -a -o build/driver.cmxa -ccopt "-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" src/daemon/driver/driverGraphics_nogd.cmx src/daemon/driver/driverGraphics.cmx src/daemon/driver/driverInteractive.cmx src/daemon/driver/driverCommands.cmx src/daemon/driver/driverControlers.cmx src/daemon/driver/driverInterface.cmx src/daemon/driver/driverMain.cmx
ocamlopt.opt -inline 10 -linkall -o mlnet \
bigarray.cmxa unix.cmxa str.cmxa nums.cmxa -ccopt "-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" \
\
\
\
\
\
\
-I build build/extlib.cmxa build/cdk.cmxa build/bitstring.cmxa build/magic.cmxa build/common.cmxa build/client.cmxa build/core.cmxa build/driver.cmxa src/daemon/common/commonMain.cmx
make -j5 utils
if test "opt" = "byte"; then \
make utils.byte; \
else \
make utils.opt; \
fi
make[1]: Wejście do katalogu `/var/tmp/portage/net-p2p/mldonkey-3.0.7.1/work/mldonkey-3.0.7.1'
ocamlopt.opt -inline 10 -linkall -o svg_converter \
bigarray.cmxa unix.cmxa str.cmxa nums.cmxa -ccopt "-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -Wl,--relax -Wl,--sort-common " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" \
\
\
\
\
\
\
-I build
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c tools/mld_hash.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c tools/make_torrent.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c tools/bt_dht_node.ml
ocamlopt.opt -inline 10 -I src/utils/extlib -I src/utils/cdk -I src/utils/bitstring -I src/utils/lib -I src/utils/ocamlrss -I src/utils/xml-light -I src/utils/net -I tools -I src/daemon/common -I src/daemon/driver -I src/utils/mp3tagui -I src/config/unix -I src/networks/bittorrent -I +camlp4 -c tools/copysources.ml
File "tools/bt_dht_node.ml", line 21, characters 4-7:
Error: This expression has type float -> float
It has no method warn
make[1]: *** [tools/bt_dht_node.cmx] Error 2
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: Opuszczenie katalogu `/var/tmp/portage/net-p2p/mldonkey-3.0.7.1/work/mldonkey-3.0.7.1'
make: *** [utils] Error 2
|