hey. when in make i just get a bunch off failure messages. "No package 'gtk+-2.0' found" ?
:)
2 X MBWE 500gb
LED Display
what have i done wrong?
main.c: At top level:
main.c:371: error: parse error before '*' token
main.c:372: error: parse error before "fd"
main.c:373: warning: return type defaults to `int'
main.c: In function `accept_client':
main.c:374: error: invalid operands to binary *
main.c:375: error: `gchar' undeclared (first use in this function)
main.c:375: error: parse error before "buf"
main.c:379: warning: implicit declaration of function `g_new0'
main.c:379: warning: assignment makes pointer from integer without a cast
main.c:380: error: request for member `fd' in something not a structure or union
main.c:381: error: request for member `alive' in something not a structure or union
main.c:381: error: `TRUE' undeclared (first use in this function)
main.c:382: error: `client_limit' undeclared (first use in this function)
main.c:382: warning: implicit declaration of function `g_list_length'
main.c:382: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:384: error: `sa' undeclared (first use in this function)
main.c:384: error: `salen' undeclared (first use in this function)
main.c:389: error: request for member `hostname' in something not a structure or union
main.c:393: error: request for member `hostname' in something not a structure or union
main.c:397: error: `err' undeclared (first use in this function)
main.c:397: error: `buf' undeclared (first use in this function)
main.c:404: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:407: error: `name' undeclared (first use in this function)
main.c:407: error: request for member `major_version' in something not a structure or union
main.c:408: error: request for member `minor_version' in something not a structure or union
main.c:408: error: request for member `rev_version' in something not a structure or union
main.c:412: warning: implicit declaration of function `g_list_append'
main.c:412: warning: assignment makes pointer from integer without a cast
main.c:416: error: request for member `hostname' in something not a structure or union
main.c:419: error: request for member `hostname' in something not a structure or union
main.c: At top level:
main.c:425: error: parse error before "fd"
main.c: In function `remove_client':
main.c:427: error: `GList' undeclared (first use in this function)
main.c:427: error: `list' undeclared (first use in this function)
main.c:428: error: invalid operands to binary *
main.c:432: error: parse error before ')' token
main.c:433: error: request for member `fd' in something not a structure or union
main.c:435: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:436: error: request for member `hostname' in something not a structure or union
main.c:438: error: request for member `hostname' in something not a structure or union
main.c:440: warning: implicit declaration of function `g_list_remove'
main.c:440: warning: assignment makes pointer from integer without a cast
main.c: At top level:
main.c:447: error: parse error before "parse_config"
main.c:447: error: parse error before '*' token
main.c:448: warning: return type defaults to `int'
main.c: In function `parse_config':
main.c:449: error: `config' undeclared (first use in this function)
main.c:456: error: `TRUE' undeclared (first use in this function)
main.c:459: error: `arg' undeclared (first use in this function)
main.c:462: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:464: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:466: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:468: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:470: warning: assignment makes pointer from integer without a cast
main.c:473: warning: assignment makes pointer from integer without a cast
main.c:475: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:477: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:479: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:481: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:483: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:485: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:487: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:489: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:491: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:491: error: parse error before "strtoul"
main.c:493: error: parse error before "else"
main.c:501: error: `tmp' undeclared (first use in this function)
main.c: At top level:
main.c:506: error: parse error before "else"
main.c:522: error: parse error before '*' token
main.c: In function `load_config':
main.c:525: error: `cfg' undeclared (first use in this function)
main.c:526: error: `gchar' undeclared (first use in this function)
main.c:526: error: parse error before "buf"
main.c:527: error: `s' undeclared (first use in this function)
main.c:527: error: `plugin_config_block' undeclared (first use in this function)
main.c:527: warning: left-hand operand of comma expression has no effect
main.c:529: warning: passing arg 1 of `fopen' from incompatible pointer type
main.c:532: error: `buf' undeclared (first use in this function)
main.c:561: warning: assignment makes pointer from integer without a cast
main.c:565: error: `arg' undeclared (first use in this function)
main.c:566: error: `config' undeclared (first use in this function)
main.c: At top level:
main.c:573: error: parse error before '*' token
main.c:574: error: parse error before '*' token
main.c:575: warning: return type defaults to `int'
main.c: In function `gkrellmd_config_getline':
main.c:576: error: `GList' undeclared (first use in this function)
main.c:576: error: `list' undeclared (first use in this function)
main.c:577: error: `cfg' undeclared (first use in this function)
main.c:579: error: `mon' undeclared (first use in this function)
main.c:587: error: parse error before ')' token
main.c: In function `read_config':
main.c:600: error: `gchar' undeclared (first use in this function)
main.c:602: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:603: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:604: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:606: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:607: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:608: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:611: warning: implicit declaration of function `g_strdup_printf'
main.c:611: warning: assignment makes pointer from integer without a cast
main.c:617: warning: assignment makes pointer from integer without a cast
main.c:622: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:622: error: parse error before ')' token
main.c:623: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:624: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:626: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:626: warning: assignment makes pointer from integer without a cast
main.c: At top level:
main.c:664: error: parse error before "argc"
main.c: In function `get_args':
main.c:666: error: `gchar' undeclared (first use in this function)
main.c:666: error: `opt' undeclared (first use in this function)
main.c:666: error: `arg' undeclared (first use in this function)
main.c:666: warning: left-hand operand of comma expression has no effect
main.c:667: error: parse error before "i"
main.c:669: error: `i' undeclared (first use in this function)
main.c:669: error: `argc' undeclared (first use in this function)
main.c:671: error: `argv' undeclared (first use in this function)
main.c:681: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:686: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:686: error: `TRUE' undeclared (first use in this function)
main.c:691: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:696: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:712: error: `r' undeclared (first use in this function)
main.c: In function `socksetup':
main.c:729: error: parse error before "maxs"
main.c:733: error: `gchar' undeclared (first use in this function)
main.c:742: error: `portnumber' undeclared (first use in this function)
main.c:742: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:743: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:743: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:745: error: `error' undeclared (first use in this function)
main.c:749: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:778: error: `maxs' undeclared (first use in this function)
main.c:778: warning: left-hand operand of comma expression has no effect
main.c:780: error: `socks' undeclared (first use in this function)
main.c:789: error: `s' undeclared (first use in this function)
main.c: In function `detach_from_terminal':
main.c:867: error: parse error before "i"
main.c:881: error: `i' undeclared (first use in this function)
main.c: At top level:
main.c:941: error: parse error before "main"
main.c:941: error: parse error before "argc"
main.c:942: warning: return type defaults to `int'
main.c: In function `main':
main.c:951: error: invalid operands to binary *
main.c:953: error: parse error before "fd"
main.c:980: error: `argc' undeclared (first use in this function)
main.c:980: error: `argv' undeclared (first use in this function)
main.c:982: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:983: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:986: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:986: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:986: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1004:23: missing binary operator before token "("
main.c:1008: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1009: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1009: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1010: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1011: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1011: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1012: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1013: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1014: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1015: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1016: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1020: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1021: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1031: error: `i' undeclared (first use in this function)
main.c:1031: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1033: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1035: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1038: error: `listen_fds' undeclared (first use in this function)
main.c:1039: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1039: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1040: error: `max_fd' undeclared (first use in this function)
main.c:1040: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1041: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1050: error: `interval' undeclared (first use in this function)
main.c:1050: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1075: error: `result' undeclared (first use in this function)
main.c:1094: warning: assignment makes pointer from integer without a cast
main.c:1095: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1096: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1098: warning: assignment makes pointer from integer without a cast
main.c:1103: error: `client_fd' undeclared (first use in this function)
main.c:1105: warning: passing arg 1 of `accept' makes integer from pointer without a cast
main.c:1124: error: invalid use of undefined type `struct GkrellmdConfig'
main.c:1126: error: request for member `hostname' in something not a structure or union
main.c:1131: error: `nbytes' undeclared (first use in this function)
main.c: At top level:
main.c:1151: error: parse error before '*' token
main.c:1153: warning: return type defaults to `int'
main.c:1158: error: parse error before "gkrellmd_get_timer_ticks"
main.c:1159: warning: return type defaults to `int'
main.c: In function `gkrellmd_get_timer_ticks':
main.c:1160: error: request for member `timer_ticks' in something not a structure or union
main.c: In function `cidr_match':
main.c:209: warning: statement with no effect
main.c: In function `allow_host':
main.c:309: warning: statement with no effect
main.c:311: warning: statement with no effect
main.c: In function `load_config':
main.c:527: warning: statement with no effect
main.c: At top level:
../src/gkrellm-sysdeps.h:316: error: storage size of `gint' isn't known
main.c:50: error: storage size of `_GK' isn't known
make: *** [main.o] Error 1
[root@NAS server]#
2 X MBWE 500gb
LED Display
First i got the same problem as stark… but it works just doing a
export PKG_CONFIG_PATH=/opt/lib/pkgconfig/
just before the 'make'
The problem was: 'Package glib-2.0 was not found in the pkg-config search path.'
Greetings!
this might be a dumb question but how do i get Gkrellmd to start at boot time?
i've searched for like 30mins and still cant find an answer.
thanks.
Trav.
During Make- process I got the following error output (it is only part of the output the original one is much longer):
[root@Karpfenteich server]# export PKG_CONFIG_PATH=/opt/lib/pkgconfig/
[root@Karpfenteich server]# make
./configure: line 16: pkg-config: command not found
./configure: line 17: pkg-config: command not found
cc -Wall -O2 -I.. `pkg-config --cflags glib-2.0 gthread-2.0` -c -o main.o main.c
/bin/sh: pkg-config: command not found
Problem: You need to install pkg-config. This is really simple as it is in Optware database:
[root@Karpfenteich server]# /opt/bin/ipkg install pkgconfig
Second Problem: Make tries to find pkg-config in /bin/sh but by default it is installed in /opt/bin. This is ONE solution:
[root@Karpfenteich server]# vi /opt/src/gkrellm-2.3.1/server/Makefile
Then change this:
PKG_CONFIG ?= pkg-config
To this:
PKG_CONFIG ?= /opt/bin/pkg-config
I have the same problem
[root@MyBookWorld server]# make
./configure: line 16: pkg-config: command not found
./configure: line 17: pkg-config: command not found
cc -Wall -O2 -I.. `pkg-config —cflags glib-2.0 gthread-2.0` -c -o main.o main.c
/bin/sh: pkg-config: command not found
/bin/sh: cc: command not found
make: *** [main.o] Error 127
I have installed the pkg usig your intructions but I still get the error, Do i need to restart the Book after that install ?
Thank you
Hi, sorry to duplicate my post but I didn't notice the support thread.
I am getting the following error after running make install INSTALLROOT-/opt
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing ‘gtk+-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing ‘gtk+-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
install -d -m 755 /usr/local/bin
install -c -s -m 755 gkrellmd /usr/local/bin/gkrellmd
cannot stat ‘gkrellmd’: No such file or directory
make: *** [install_bin] Error 1
Is anyone able to help?
J
I also got an error during make , so any suggestions please
Regards,
[root@NAS server]# export
PKG_CONFIG_PATH=/opt/lib/pkgconfig/
[root@NAS server]# make
Package gtk+-2.0 was not found in the pkg-config search
path.
Perhaps you should add the directory containing ‘gtk+-
2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search
path.
Perhaps you should add the directory containing ‘gtk+-
2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
cc -Wall -O2 -I.. `pkg-config —cflags glib-2.0 gthread-2.0`
-c -o main.o main.c
/bin/sh: cc: command not found
make: *** [main.o] Error 127
[root@NAS server]#
Hi,
Is there any way to go over this error during make
/bin/sh: cc: command not found
make: *** [main.o] Error 127
OK, I have installed and config-ed it to a white version on XP via ipkg.
I used its windows front-end from here: http://www.srcbox.net/projects/gkrellm/
Downloaded some skins from: http://www.muhri.net/gkrellm/
It works but i have some question:
1) I can not monitor any CPU/HDD temp and cannt mount hdd to monitor free/used disk space.
2) do not know how to isntall plugins to the win front-end.
any help on them?
Thanks in advance.
PS: BTW, it works well…