gcc -g -Wall -c -o dnstop.o dnstop.c In file included from dnstop.c:10: /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:27:26: sys/isa_defs.h: No such file or directory /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:28:31: sys/feature_tests.h: No such file or directory /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:33:27: sys/ma...
by yinyi2008 - Solaris - 2005-08-24 12:02:53 阅读(920) 回复(4)
#include
#include
请问各位:
在gcc 编译c程序时出现如下的错误:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/include/varargs.h:4:2: #error "gcc no longer implements
我在帽子9.0下驱动我的D-link网卡 在生成文件via-rhine.o时出现一下问题 望大侠指点迷津。 [root@localhost tmp]# make all gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -c via-rhine.c sh: line 1: gcc: command not found make: *** [via-rhine.o] Error 127 我的内核版本号为: [root@localhost tmp]# cat /proc/version Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.co...
再solaris9 x86环境下使用gcc 3.3
编译
[code]
#include
ocintab.inl:28: error: there are no arguments to `get_session' that depend on a template parameter, so a declaration of `get_session' must be available
gcc version:3.3.2 solaris 10 # pkginfo | grep gcc application SMCgcc gcc system SUNWgcc gcc - The GNU C compiler system SUNWgccruntime gcc Runtime libraries PATH=/opt/SUNWspro/bin:/orabin/product/9.2.0.8/bin:/usr/sbin:/usr/ccs/bin:/usr/bin:/usr/ucb:/etc:.:/usr/local/bin:/usr/bin: 但是编译的时候还是报错: *.o: No such...
今天别人给我发了个程序,用g++编译没问题,而gcc编译则有问题, 因为我是用C++的,一般用g++,我想请教下各位到底是什么原因,先谢谢了。 [code] $ gcc -o private private.c private.c: In function ‘main’: private.c:28: error: invalid application of ‘sizeof’ to incomplete type ‘struct msgbuf’ private.c:29: error: dereferencing pointer to incomplete type private.c:30: error: dereferencing pointer to ...
我在开发一个项目中一些是用C语言写的, 一些是用C++写的. 在C语言中我不得不调用C++写的相关方法, 为了编译过去, 我在写makefile文件中, gcc编译C文件, g++编译C++的文件. 编译没有问题.但是link不了. 该如何设置呢?谢谢.