Code Monkey home page Code Monkey logo

Comments (7)

madeye avatar madeye commented on July 3, 2024

Try pkg-config --libs ev and post the output here.

from simple-obfs.

rampageX avatar rampageX commented on July 3, 2024
[tomatoware][Buffalo:/tmp/mnt/sda2/compile/simple-obfs]$ pkg-config --libs ev
Package ev was not found in the pkg-config search path.
Perhaps you should add the directory containing `ev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ev' found

and:

[tomatoware][Buffalo:/tmp/mnt/sda2/compile/simple-obfs]$ pkg-config --libs libev
-L/mmc/lib -lev

BTW: new git version of ss-libev compile fine on the same system.

from simple-obfs.

madeye avatar madeye commented on July 3, 2024

Please try 23b705b

from simple-obfs.

rampageX avatar rampageX commented on July 3, 2024

./configure --disable-ssp --disable-documentation --disable-assert

is fine, but i want try static compile:

LDFLAGS="-Wl,-static -static -static-libgcc -s" ./configure --disable-ssp --disable-documentation --disable-assert

error:

......
checking for dns_dnlen in -ludns... yes
checking for ev_loop_destroy in -lev... no
configure: error: Couldn't find libev. Try installing libev-dev[el].

from simple-obfs.

madeye avatar madeye commented on July 3, 2024

Do you have libev.a in your /mmc/lib?

from simple-obfs.

rampageX avatar rampageX commented on July 3, 2024

yes:

[tomatoware][Buffalo:/tmp/mnt/sda2/compile/simple-obfs]$ ls /mmc/lib/libev.a
-rw-r--r-- 1 root root 204606 Jan 19 11:56 /mmc/lib/libev.a

like i said, ss-libev compile fine on same system, so i dont think i missing any file.

from simple-obfs.

kdrx avatar kdrx commented on July 3, 2024

I met this same case when i cross-compiling on a debian system, and i found a "undefined reference to `floor'" error in the config.log file.
So, after i recompiled with the flag -lm, it got solved.
I hope it helps.

from simple-obfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.