On Wed, Jan 29, 2003 at 02:11:55PM +0100, Stef spake thusly:
> Am 29.01.2003 12:22:05, schrieb "Niklas Bergh" <[EMAIL PROTECTED]>:
> 
> >This just appeared in my console:
> >Unable to find native library for fec8
> >Unable to find native library for fec16
> 
> AFAIK you can find something on the Nubile-freesite, but it's perhaps outdated.
> (I never used this native code)

I have been trying for ages to get native FEC to work. Thanks for the
pointer to the Nubile website. It is the ONLY place on the entire net that
I have been able to find that actually documents how to set up native FEC!

I have copied fec-linux-x86.jar into the freenet dir, changed the
CLASSPATH, and set the freenet.conf as specified:

# Default FEC encoder implementation.
FEC.Encoders.0.class=NativeOnionFECEncoder
 
# Default FEC decoder implementation.
FEC.Decoders.0.class=NativeOnionFECDecoder
 
But when I start up freenet I get this:

 java.io.IOException: Couldn't get FECEncoder: OnionFEC_a_1_2
        at freenet.client.FECTools.getEncoder(FECTools.java:643)
        at freenet.client.FECTools.segmentFile(FECTools.java:166)
        at
freenet.node.states.FCP.NewFECSegmentFile.received(NewFECSegmentFile.java:24)
        at freenet.node.StateChain.received(StateChain.java:161)
        at freenet.node.StateChain.received(StateChain.java:52)
        at
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:212)
        at
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:159)
        at
freenet.node.StandardMessageHandler$Ticket.access$0(StandardMessageHandler.java)
        at
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:68)
        at freenet.Ticker$Event.run(Ticker.java:214)
        at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:212)

I have installed FEC 1.0.3. Does OnionFEC_a_1_2 indicate that it is
looking for 1.0.2? I can't find 1.0.2 for download on the onion website
anymore. It used to be in /fec/fec-1.0.2.zip as specified by the Nubile
page but no longer. Ah-ha...I found it in /developers/fec-1.0.2.zip. I
replaced the 1.0.3 fec-linux-x86.jar with the one from 1.0.2 and this
appears on the console:

Jan 29, 2003 10:55:51 PM (freenet.client.FECFactory, main): Couldn't load
class: NativeOnionFECEncoder.
Jan 29, 2003 10:55:51 PM (freenet.client.FECFactory, main): Couldn't load
class: NativeOnionFECDecoder.

This is driving me crazy. Any hints?

-- 
Tracy Reed      http://www.ultraviolet.org

Attachment: msg02733/pgp00000.pgp
Description: PGP signature

Reply via email to