发布时间:2015-04-01 08:50:18
变量j未初始化,导致访问出错。点击(此处)折叠或打开gwwu@hz-dev2.wgw.com:~/codes/istanbul_3_31/build_BR200>powerpc-linux-gnu-gdb GNU gdb (Sourcery G++ Lite 2010.09-55) 7.2.50.20100908-cvsCopyright (C) 2010 Free Software Foundation, Inc..........【阅读全文】
发布时间:2015-02-25 17:22:04
/usr/bin/ld: cannot find -lcThe linker cannot find the C libraries required for statically linking your library. You can try and see if libc.a already exists on your system by calling locate libc.a. If this returns, add an appropriate library flag pointing to the directory that includes libc.a.I.........【阅读全文】
发布时间:2014-12-08 16:23:12
添加了头文件#include #include #include 编译gcc -g global_shm.c -o global_shm -Wall时,仍然提示undefined reference to sem_open,原因是需要添加库-lpthread......【阅读全文】