开源代码的编译configure的相关选项
来源:互联网 发布:无形资产软件升级费用 编辑:程序博客网 时间:2024/06/05 09:56
目标:移植tcpdump的文件,apt-get source tcpdump 得到源代码,配置 ./configure --prefix=/home/apple/you/net/day01/test/bin_tcpdump/
缺少库文件:libpcap,apt-get source libpcap 得到库的源码,
2131 ./configure --prefix=/home/apple/you/net/day01/test/bin_libpcap/
2132 make
2133 make install
到
./configure --prefix=/home/apple/you/net/day01/test/bin_tcpdump/ --includedir=/home/apple/you/net/day01/test/bin_libpcap/include/ --libdir=/home/apple/you/net/day01/test/bin_libpcap/lib/make
出现error
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x2c8): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x38e): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x404): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x4be): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x51f): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x5d4): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x642): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x670): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [tcpdump] Error 1
root@ubuntu:/home/apple/you/net/day01/test/tcpdump-4.0.0# ./configure --prefix=/home/apple/you/net/day01/test/bin_tcpdump/ --includedir=/home/apple/you/net/day01/test/bin_libpcap/include/ --libdir=/home/apple/you/net/day01/test/bin_libpcap/lib/ LDFLAGS=-ldl
- 开源代码的编译configure的相关选项
- Nginx的configure编译选项
- 关于configure的build,host,target编译选项的理解.
- Linux下编译源代码时的配置 --configure
- 修改开源代码的configure与makefile
- vc编译选项,工程依赖相关的
- 和文件系统相关的内核编译选项
- 交叉编译的configure
- PB5.0下修改OS源代码的编译选项介绍
- 关于Linux的makefile的自动生成,以及.configure及编译选项
- Nginx configure 自定义编译选项
- linux中configure一些选项的使用
- linux中configure一些选项的使用
- Configure选项配置的详细介绍
- Configure选项配置的详细介绍
- Linux ./configure --prefix 选项的意义
- Configure选项配置的详细介绍
- configure的交叉编译问题
- 柬埔寨国王抵达北京医院并简短吊唁西哈努克-西哈努克太皇-柬埔寨独立-西哈努克
- 字符编码终极笔记:ASCII、Unicode、UTF-8、UTF-16、UCS、BOM、Endian
- JavaScript for...in 语句
- 利用mmap /dev/mem 读写Linux内存
- 设计模式示例-迭代器模式
- 开源代码的编译configure的相关选项
- 学了几年编程,我只是个混混
- mysql
- Latent Model- NMF
- php程序mysql Can't connect to MySQL server on 'XXX' (13)错误解决办法
- C++ 安全删除
- 15.输入一颗二元查找树,将该树转换为它的镜像
- ZOJ 3656
- JavaScript 事件