<?xml version="1.0" encoding="GB2312"  ?>
<rss version="2.0">
<channel>
<title>ChinaUnix.net - 程序开发</title>
<link>http://bbs.chinaunix.net/forumdisplay.php?fid=73</link>
<description>这里讨论Linux环境下编程遇到的各类问题，以及经验分享，包括编译方法、程序优化、系统开发、网络编程、驱动程序开发、移动开发等等</description><managingEditor>admin@staff.chinaunix.net</managingEditor>
<webMaster>admin@staff.chinaunix.net</webMaster>
<lastBuildDate>2007-01-11 10:45:00</lastBuildDate>
<item>
<title>sh脚本不同执行方式结果不一样? </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=884146</link>
<author>zql-x</author><pubDate>2007-01-10 16:20:29</pubDate><description><![CDATA[
作者: zql-x
发表于: 2007-01-10 16:20:29 (GMT 8)
简介：sh脚本不同执行方式结果不一样?

同样一个脚本以./*.sh执行是一个结果
以at -f  *.sh now结果又不一样.
为什么呀.

是这样,一个脚本e.sh:echo > 5 /home/t.txt
                      mysqldump -uroot -ppas
]]></description>
</item>
<item>
<title>有兄弟可以推荐下好一点的ELF文件分析工具么 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=884134</link>
<author>zhongfangqing</author><pubDate>2007-01-10 16:11:52</pubDate><description><![CDATA[
作者: zhongfangqing
发表于: 2007-01-10 16:11:52 (GMT 8)
简介：readelf好象不能把elf中导出的函数列出来
谢谢

[[i] 本帖最后由 zhongfangqing 于 2007-1-10 18:56 编辑 [/i]]
]]></description>
</item>
<item>
<title>有谁用过winhex的啊 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=883959</link>
<author>whshuai</author><pubDate>2007-01-10 12:10:26</pubDate><description><![CDATA[
作者: whshuai
发表于: 2007-01-10 12:10:26 (GMT 8)
简介：怎样用winhex显示文件的文件名
]]></description>
</item>
<item>
<title>升级到libpcap-0.9.1以后，编译时候，pcap_next_ex没有找到定义 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=883952</link>
<author>wanghi</author><pubDate>2007-01-10 11:59:31</pubDate><description><![CDATA[
作者: wanghi
发表于: 2007-01-10 11:59:31 (GMT 8)
简介：我看了一下/usr/include/pcap.h
里面有pcap_next_ex的声明

nm /usr/lib/libpcap.a |grep pcap_next
显示：
000000c8 T pcap_next
00000128 T pcap_next_ex
00000000 T pcap_next_etherent

编译：gcc pcap
]]></description>
</item>
<item>
<title>新手编译问题 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=883827</link>
<author>lxcomcn</author><pubDate>2007-01-10 10:00:21</pubDate><description><![CDATA[
作者: lxcomcn
发表于: 2007-01-10 10:00:21 (GMT 8)
简介：各位大牛，我有一个问题，恳请大家帮帮我！

我按着以下例子在QT Designer下写了一个程序。

#include <qapplication.h>
#include <qpushbutton.h>


int main( int argc, char **argv )
{
    QApplicati
]]></description>
</item>
<item>
<title>debian下如何编译程序？ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=883767</link>
<author>Magicloud</author><pubDate>2007-01-10 08:42:20</pubDate><description><![CDATA[
作者: Magicloud
发表于: 2007-01-10 08:42:20 (GMT 8)
简介：貌似debian自带的包装出来的都是动态连接库，很多要从代码编译的软件的configure默认无法识别。
应该如何？
谢谢。
]]></description>
</item>
<item>
<title>gcc4.1.1的安装问题 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=883393</link>
<author>HappyWin</author><pubDate>2007-01-09 13:59:56</pubDate><description><![CDATA[
作者: HappyWin
发表于: 2007-01-09 13:59:56 (GMT 8)
简介：各位前辈，我从gcc.gnu.org下载了个gcc4.1.1，想把它build完后安装到powerpc的机器上使用，现在powerpc上什么编译器都没有，该怎么build？

是不是需要从别的机器上build出来然后拷贝上去？那么怎么build一个for p
]]></description>
</item>
<item>
<title>关于nasm一个问题 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=883001</link>
<author>小草_cw</author><pubDate>2007-01-08 20:37:51</pubDate><description><![CDATA[
作者: 小草_cw
发表于: 2007-01-08 20:37:51 (GMT 8)
简介：在看一本自己动手写操作系统的书,我在SCO UNIX上安装了nasm,但是发现sco系统调用是定义的是lcall $0x7, 0$x0,  用它代替了了int 0x80, 分别用as和nasm(call  0x7:0x0)都试了一下不起作用但是也不报错;请问sco下系统
]]></description>
</item>
<item>
<title>一个缓冲区溢出的问题。 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882948</link>
<author>jdxyw</author><pubDate>2007-01-08 18:23:26</pubDate><description><![CDATA[
作者: jdxyw
发表于: 2007-01-08 18:23:26 (GMT 8)
简介：int main(intargc, char **argv) 
{
FILE *fd;
char *userinput= malloc(35);
char *output = malloc(10);
strcpy(output, “/tmp/notes”);
strcpy(userinput, argv[1]);     
fd= fopen(output, “a”);
i
]]></description>
</item>
<item>
<title>请教关于播放毛片方面的技术性问题 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882942</link>
<author>zhongfangqing</author><pubDate>2007-01-08 18:12:37</pubDate><description><![CDATA[
作者: zhongfangqing
发表于: 2007-01-08 18:12:37 (GMT 8)
简介：如果在一个GTK窗口中播放毛片。
这个窗口大小没有改变、位置也不改变，但里面的内容发生了改变。
这时候，这个窗口将产生什么样的事件？
我觉得不太可能是暴露事件，因为暴露事件是隐藏的窗口重新显示时才触发的
]]></description>
</item>
<item>
<title>关于LFS中的一个命令 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882763</link>
<author>tresss</author><pubDate>2007-01-08 14:49:24</pubDate><description><![CDATA[
作者: tresss
发表于: 2007-01-08 14:49:24 (GMT 8)
简介：对Linux不是很熟。
准备做一个LFS。但遇到一个命令时出错：

SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs &&
gcc -dumpspecs > $SPECFILE &&
sed 's@^/lib/ld-linux.so.2@/tools&@g' $SPECFILE >
]]></description>
</item>
<item>
<title>[急问]  ftp 速率控制 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882667</link>
<author>kuige0803</author><pubDate>2007-01-08 12:38:52</pubDate><description><![CDATA[
作者: kuige0803
发表于: 2007-01-08 12:38:52 (GMT 8)
简介：急问：
ftp 的下载速率控制  在linux下是如何用C语言实现的？？？或者可否提供相关的源代码

十分感谢
]]></description>
</item>
<item>
<title>mmap, mmap2, mmap64 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882577</link>
<author>Finasy</author><pubDate>2007-01-08 10:58:36</pubDate><description><![CDATA[
作者: Finasy
发表于: 2007-01-08 10:58:36 (GMT 8)
简介：由于要访问大内存（over 4G），所以要使用以上几个函数。
但是在使用过程中遇到几个问题：

1. mmap2按照man里说的，include了<sys/mman.h>和<syscall.h>，但是却编不过。
  在.cpp里使用，是直接报没有声明的错
]]></description>
</item>
<item>
<title>directfb下的窗口管理器? </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882565</link>
<author>maover</author><pubDate>2007-01-08 10:52:37</pubDate><description><![CDATA[
作者: maover
发表于: 2007-01-08 10:52:37 (GMT 8)
简介：怎么在directfb 下起一个窗口管理器(选用什么窗口管理器呢?) ,实现窗口拖动.最大化,最小化.
有人推荐用fvwm.  不知道有没有在directfb使用德经历,请大家不吝指教.THX
]]></description>
</item>
<item>
<title>C语言中调用mysql问题 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882314</link>
<author>tresss</author><pubDate>2007-01-07 17:53:45</pubDate><description><![CDATA[
作者: tresss
发表于: 2007-01-07 17:53:45 (GMT 8)
简介：刚在Linux使用mysql.
Linux版本为FC1.
内核和GCC版本均为FC1自带的.
mysql版本为5.0.
mysql安装正常,经测试可以使用.

用C写一个基本的连接Mysql的程序,语法没问题.include文件也没问题.
编译时通过.
但是在
]]></description>
</item>
<item>
<title>找LINUX下updatedb和locate的源碼 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882079</link>
<author>xjtdy888</author><pubDate>2007-01-06 21:18:56</pubDate><description><![CDATA[
作者: xjtdy888
发表于: 2007-01-06 21:18:56 (GMT 8)
简介：找LINUX下updatedb和locate的源碼，一直沒找到源碼在哪裡，網路上也沒找到，忘給個鏈接或帖個上來謝謝！
]]></description>
</item>
<item>
<title>用statfs计算出来得剩余空间与实际空间不符合阿 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882016</link>
<author>upcuiling</author><pubDate>2007-01-06 17:42:17</pubDate><description><![CDATA[
作者: upcuiling
发表于: 2007-01-06 17:42:17 (GMT 8)
简介：我用以下代码，计算出来的磁盘剩余空间不符合实际
long fed_free_capacity()
{
   struct statfs buf;
   int i;
   long temp;
   i = statfs("/mnt",&buf);

   if (i == 0) 
   	{
   	temp=buf.f_bfre
]]></description>
</item>
<item>
<title>有没有什么程序优化的工具推荐？ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=882014</link>
<author>shrr</author><pubDate>2007-01-06 17:27:04</pubDate><description><![CDATA[
作者: shrr
发表于: 2007-01-06 17:27:04 (GMT 8)
简介：一个应用程序，代码几万行，函数也一大堆，主要用于数据处理的，执行速度不太理想，
有没有什么程序优化类的工具推荐一下？
比如说能找到运行次数或时间最长的函数。

现在用一个叫 gprof 的工具，但是感觉不太
]]></description>
</item>
<item>
<title>Symantec招聘Linux软件工程师 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=881989</link>
<author>smilejesson</author><pubDate>2007-01-06 16:05:58</pubDate><description><![CDATA[
作者: smilejesson
发表于: 2007-01-06 16:05:58 (GMT 8)
简介：symantec公司研发中心将在未来3-5年内由300人扩大到1000人，相信有实力的您一定会有很多机会。
欢迎具有良好工作背景或教育背景的IT精英应聘。公司待遇良好，不落后于绝大多数外资IT公司。
工作地点在北京。

1.
]]></description>
</item>
<item>
<title>系统上4个md5.h，到底编译时会先中哪个呢 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=881930</link>
<author>金西</author><pubDate>2007-01-06 13:44:33</pubDate><description><![CDATA[
作者: 金西
发表于: 2007-01-06 13:44:33 (GMT 8)
简介：find / -name md5.h
/usr/include/sasl/md5.h
/usr/include/openssl/md5.h
/usr/include/md5.h
/usr/local/mysql/include/md5.h

或者说是应该用那个呢？？？
]]></description>
</item>
</channel>
</rss>