免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1652 | 回复: 2
打印 上一主题 下一主题

[求助]TCPDUMP移植的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-19 17:59 |只看该作者 |倒序浏览
想把TCPDUMP移植到开发板上
查了半天资料
从网上下到了两个代码包
libpcap-0.9.4.tar.gz和tcpdump-3.9.4.tar.gz

得知编译之前要先确定库文件libpcap已经安装完毕,这个库文件是tcpdump软件所需的库文件于是就先打开libpcap-0.9.4.tar.gz
解压后看到Makefile.in文件
打开后看到

# Top level hierarchy
prefix = @prefix@
exec_prefix = @exec_prefix@
# Pathname of directory to install the include files
includedir = @includedir@
# Pathname of directory to install the library
libdir =  @libdir@
# Pathname of directory to install the man page
mandir = @mandir@
                                                                             
# VPATH
srcdir = @srcdir@
VPATH = @srcdir@
                                                                             
#
# You shouldn't need to edit anything below.
#
                                                                             
CC = @CC@
CCOPT = @V_CCOPT@
INCLS = -I. @V_INCLS@
DEFS = @DEFS@ @V_DEFS@
LIBS = @V_LIBS@
DYEXT = @DYEXT@
                                                                             
# Standard CFLAGS
CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
                                                                             
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
RANLIB = @RANLIB@

想问@在这里是表示什么啊?
要交叉编译的话应该把@CC@改成什么?
默认prefix = @prefix@会安装到什么地方???
呵呵

论坛徽章:
0
2 [报告]
发表于 2006-05-19 19:56 |只看该作者
求助好心人啊!

论坛徽章:
0
3 [报告]
发表于 2006-05-20 04:51 |只看该作者
@prefix@表示配制替换
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP