QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1613|回复: 2

NC TOOLS 没办法安装!!! 环境 Magic lin

[复制链接]
发表于 2003-3-18 10:48:44 | 显示全部楼层 |阅读模式
[root@Magic nc]# make linux
make -e cryptcat XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/root/tools/nc'
make[1]: `cryptcat' is up to date.
make[1]: Leaving directory `/root/tools/nc'
[root@Magic nc]# gcc -o nc netcat.c
/tmp/ccFbaKA4.o: In function `readwrite':
/tmp/ccFbaKA4.o(.text+0x17b0): undefined reference to `farm9crypt_read'
/tmp/ccFbaKA4.o(.text+0x1972): undefined reference to `farm9crypt_write'
/tmp/ccFbaKA4.o: In function `main':
/tmp/ccFbaKA4.o(.text+0x1a76): undefined reference to `farm9crypt_init'
/tmp/ccFbaKA4.o(.text+0x1a7e): undefined reference to `res_init'
collect2: ld returned 1 exit status

兄弟们帮帮我!!!
发表于 2003-3-18 12:52:58 | 显示全部楼层

Re: NC TOOLS 没办法安装!!! 环境 Magic

[quote:4571739842="zwlww"][root@Magic nc]# make linux
make -e cryptcat XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/root/tools/nc'
make[1]: `cryptcat' is up to date.
make[1]: Leaving directory `/root/tools/nc'
[root@Magic nc]# gcc -o nc netcat.c
/tmp/ccFbaKA4.o: In function `readwrite':
/tmp/ccFbaKA4.o(.text+0x17b0): undefined reference to `farm9crypt_read'
/tmp/ccFbaKA4.o(.text+0x1972): undefined reference to `farm9crypt_write'
/tmp/ccFbaKA4.o: In function `main':
/tmp/ccFbaKA4.o(.text+0x1a76): undefined reference to `farm9crypt_init'
/tmp/ccFbaKA4.o(.text+0x1a7e): undefined reference to `res_init'
collect2: ld returned 1 exit status

兄弟们帮帮我!!![/quote]

以上信息是不是由于缺少head文件?装上kernel-source试试看。

PS:个人建议Magic Linux的下一版本默认安装上kernel source,毕竟N多软件的编译都需要kernel source。
回复

使用道具 举报

发表于 2003-3-18 13:38:24 | 显示全部楼层
这个信息是提示缺少缺少lib.
也就是编译器 -L -l的地方出现问题。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-26 00:47 , Processed in 0.071997 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表