linux.c:21: error: syntax error before '/' token
linux.c:21: error: syntax error at '#' token
linux.c:141: error: syntax error before "void"
linux.c: In function `update_net_stats':
linux.c:144: error: syntax error before '/' token
linux.c:148: error: storage size of 'conf' isn't known
linux.c:172: error: `i2' undeclared (first use in this function)
linux.c:172: error: (Each undeclared identifier is reported only once
linux.c:172: error: for each function it appears in.)
linux.c:223: error: `i' undeclared (first use in this function)
linux.c:225: error: invalid application of `sizeof' to incomplete type `ifreq'
linux.c:227: error: invalid application of `sizeof' to incomplete type `ifreq'
linux.c:231: error: invalid application of `sizeof' to incomplete type `ifreq'
linux.c:253: error: syntax error before '/' token
linux.c:254: error: syntax error before ')' token
linux.c:258: error: `ns' undeclared (first use in this function)
linux.c:148: warning: unused variable `conf'
linux.c: At top level:
linux.c:273: error: syntax error before '}' token
linux.c:275: error: syntax error before "void"
linux.c:395: error: syntax error before "static"
linux.c: In function `update_load_average':
linux.c:506: warning: implicit declaration of function `getloadavg'
linux.c: In function `get_first_file_in_a_directory':
linux.c:577: warning: implicit declaration of function `scandir'
linux.c:577: error: `alphasort' undeclared (first use in this function)
linux.c: In function `open_i2c_sensor':
linux.c:624: warning: implicit declaration of function `snprintf'
linux.c: In function `get_freq_dynamic':
linux.c:800: error: storage size of 'tz' isn't known
linux.c:816: warning: implicit declaration of function `usleep'
linux.c:800: warning: unused variable `tz'
linux.c: In function `get_freq':
linux.c:856: error: syntax error before '/' token
linux.c:860: error: syntax error before '/' token
linux.c:862: error: `__s1_len' undeclared (first use in this function)
linux.c:862: error: `__s2_len' undeclared (first use in this function)
linux.c:862: warning: left-hand operand of comma expression has no effect
linux.c:862: warning: left-hand operand of comma expression has no effect
linux.c:862: warning: left-hand operand of comma expression has no effect
linux.c:862: warning: left-hand operand of comma expression has no effect
linux.c:862: error: syntax error before ')' token
linux.c:869:8: warning: extra tokens at end of #endif directive
linux.c:876: error: stray '\' in program
linux.c:879: error: break statement not within loop or switch
linux.c:836: warning: unused variable `frequency'
linux.c: At top level:
linux.c:881: error: syntax error before '}' token
linux.c:883: warning: type defaults to `int' in declaration of `fclose'
linux.c:883: warning: parameter names (without types) in function declaration
linux.c:883: warning: data definition has no type or storage class
linux.c:884: error: syntax error before '(' token
make[2]: *** [linux.o] 错误 1
make[2]: Leaving directory `/mnt/hdc3/LinuxSoft/Funny/conky-1.4.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/mnt/hdc3/LinuxSoft/Funny/conky-1.4.1/src'
make: *** [all-recursive] 错误 1
[quote:d22eeaa3de="alpher"]你是ML2正式版?
gcc-3.4.4-1mgc?[/quote]
我是ML2正式版,GCC 3.4.4.1mgc的啊
我刚才也装了CONKY一下,也可以顺利安装,但也不能自动生成配置文件,只有手动新建一个。但是可以用。不过和TORSMO一样,一会没有一会有的。最后就没有了。而且显示不完全,部分遮住了。
我的CONKY的安装命令是
./configure
make
make install