simple-obfs
                                
                                
                                
                                    simple-obfs copied to clipboard
                            
                            
                            
                        Compile error cant find -lev
git version:
checking for ev_loop_destroy in -lev... no
configure: error: Couldn't find libev. Try installing libev-dev[el].
I compile libev from source, and i am sure it is installed:
pkg-config --list-all
......
libev                     libev - High-performance event loop/event model
                                    
                                    
                                    
                                
Try pkg-config --libs ev and post the output here.
[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.
Please try 23b705b
./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].
                                    
                                    
                                    
                                
Do you have libev.a in your /mmc/lib?
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.
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.