编译错误:stray'\302'在程序等 [英] Compilation error: stray ‘\302’ in program etc

查看:509
本文介绍了编译错误:stray'\302'在程序等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在编译跟随的exploit代码时遇到问题:

I am having problem compiling the followed exploit code:

http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c

我使用的是:gcc file。 c和gcc -O2 file.c,但是它们都会出现以下错误:

I am using: "gcc file.c" and "gcc -O2 file.c" but both of them gets the following errors:

 sorbolinux-exec.c: In function ‘sc’:
 sorbolinux-exec.c:76: error: stray ‘\302’ in program
 sorbolinux-exec.c:76: error: stray ‘\244’ in program
 sorbolinux-exec.c:76: error: ‘t’ undeclared (first use in this function)
 sorbolinux-exec.c:76: error: (Each undeclared identifier is reported only  once
 sorbolinux-exec.c:76: error: for each function it appears in.)

在Kali linux和Ubuntu 10.04上编译它们,并得到相同的结果。

I tried compiling them on both Kali linux and Ubuntu 10.04 and get the same result.

推荐答案

这是我看到的:

这篇关于编译错误:stray'\302'在程序等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆