Find the answer to your Linux question:
Results 1 to 5 of 5
when installing gkrellm i get this when compiling the make file (as long as im doing it right) main.c:2125: error: syntax error before "if" main.c:2125: warning: type defaults to `int' ...
  1. #1
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590

    GKrellm

    when installing gkrellm i get this when compiling the make file (as long as im doing it right)
    main.c:2125: error: syntax error before "if"
    main.c:2125: warning: type defaults to `int' in declaration of `__result'
    main.c:2125: error: conflicting declarations of `__result'
    main.c:2125: error: `__result' previously defined here
    main.c:2125: warning: data definition has no type or storage class
    main.c:2125: error: syntax error before '}' token
    main.c:2127: error: syntax error before '&&' token
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously declared here
    main.c:2127: warning: `__result' was declared `extern' and later `static'
    main.c:2127: error: `s' undeclared here (not in a function)
    main.c:2127: error: `__s2' undeclared here (not in a function)
    main.c:2127: error: syntax error before "if"
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously defined here
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously declared here
    main.c:2127: warning: `__result' was declared `extern' and later `static'
    main.c:2127: error: `__s1' undeclared here (not in a function)
    main.c:2127: error: syntax error before "if"
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously defined here
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: error: syntax error before '&&' token
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously declared here
    main.c:2127: warning: `__result' was declared `extern' and later `static'
    main.c:2127: error: `s' undeclared here (not in a function)
    main.c:2127: error: `__s2' undeclared here (not in a function)
    main.c:2127: error: syntax error before "if"
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously defined here
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously declared here
    main.c:2127: warning: `__result' was declared `extern' and later `static'
    main.c:2127: error: `__s1' undeclared here (not in a function)
    main.c:2127: error: syntax error before "if"
    main.c:2127: warning: type defaults to `int' in declaration of `__result'
    main.c:2127: error: conflicting declarations of `__result'
    main.c:2127: error: `__result' previously defined here
    main.c:2127: warning: data definition has no type or storage class
    main.c:2127: error: syntax error before '}' token
    main.c:2129: error: syntax error before '&&' token
    main.c:2129: warning: type defaults to `int' in declaration of `__result'
    main.c:2129: warning: data definition has no type or storage class
    main.c:2129: error: syntax error before '}' token
    main.c:2129: error: conflicting declarations of `__result'
    main.c:2129: error: `__result' previously declared here
    main.c:2129: warning: `__result' was declared `extern' and later `static'
    main.c:2129: error: `s' undeclared here (not in a function)
    main.c:2129: error: `__s2' undeclared here (not in a function)
    main.c:2129: error: syntax error before "if"
    main.c:2129: warning: type defaults to `int' in declaration of `__result'
    main.c:2129: error: conflicting declarations of `__result'
    main.c:2129: error: `__result' previously defined here
    main.c:2129: warning: data definition has no type or storage class
    main.c:2129: error: syntax error before '}' token
    main.c:2129: warning: type defaults to `int' in declaration of `__result'
    main.c:2129: warning: data definition has no type or storage class
    main.c:2129: error: syntax error before '}' token
    main.c:2129: error: conflicting declarations of `__result'
    main.c:2129: error: `__result' previously declared here
    main.c:2129: warning: `__result' was declared `extern' and later `static'
    main.c:2129: error: `__s1' undeclared here (not in a function)
    main.c:2129: error: syntax error before "if"
    main.c:2129: warning: type defaults to `int' in declaration of `__result'
    main.c:2129: error: conflicting declarations of `__result'
    main.c:2129: error: `__result' previously defined here
    main.c:2129: warning: data definition has no type or storage class
    main.c:2129: error: syntax error before '}' token
    main.c:2136: error: syntax error before '&&' token
    main.c:2136: warning: type defaults to `int' in declaration of `__result'
    main.c:2136: warning: data definition has no type or storage class
    main.c:2136: error: syntax error before '}' token
    main.c:2136: error: conflicting declarations of `__result'
    main.c:2136: error: `__result' previously declared here
    main.c:2136: warning: `__result' was declared `extern' and later `static'
    main.c:2136: error: `s' undeclared here (not in a function)
    main.c:2136: error: `__s2' undeclared here (not in a function)
    main.c:2136: error: syntax error before "if"
    main.c:2136: warning: type defaults to `int' in declaration of `__result'
    main.c:2136: error: conflicting declarations of `__result'
    main.c:2136: error: `__result' previously defined here
    main.c:2136: warning: data definition has no type or storage class
    main.c:2136: error: syntax error before '}' token
    main.c:2136: warning: type defaults to `int' in declaration of `__result'
    main.c:2136: warning: data definition has no type or storage class
    main.c:2136: error: syntax error before '}' token
    main.c:2136: error: conflicting declarations of `__result'
    main.c:2136: error: `__result' previously declared here
    main.c:2136: warning: `__result' was declared `extern' and later `static'
    main.c:2136: error: `__s1' undeclared here (not in a function)
    main.c:2136: error: syntax error before "if"
    main.c:2136: warning: type defaults to `int' in declaration of `__result'
    main.c:2136: error: conflicting declarations of `__result'
    main.c:2136: error: `__result' previously defined here
    main.c:2136: warning: data definition has no type or storage class
    main.c:2136: error: syntax error before '}' token
    main.c:2138: error: syntax error before '&&' token
    main.c:2138: warning: type defaults to `int' in declaration of `__result'
    main.c:2138: warning: data definition has no type or storage class
    main.c:2138: error: syntax error before '}' token
    main.c:2138: error: conflicting declarations of `__result'
    main.c:2138: error: `__result' previously declared here
    main.c:2138: warning: `__result' was declared `extern' and later `static'
    main.c:2138: error: `s' undeclared here (not in a function)
    main.c:2138: error: `__s2' undeclared here (not in a function)
    main.c:2138: error: syntax error before "if"
    main.c:2138: warning: type defaults to `int' in declaration of `__result'
    main.c:2138: error: conflicting declarations of `__result'
    main.c:2138: error: `__result' previously defined here
    main.c:2138: warning: data definition has no type or storage class
    main.c:2138: error: syntax error before '}' token
    main.c:2138: warning: type defaults to `int' in declaration of `__result'
    main.c:2138: warning: data definition has no type or storage class
    main.c:2138: error: syntax error before '}' token
    main.c:2138: error: conflicting declarations of `__result'
    main.c:2138: error: `__result' previously declared here
    main.c:2138: warning: `__result' was declared `extern' and later `static'
    main.c:2138: error: `__s1' undeclared here (not in a function)
    main.c:2138: error: syntax error before "if"
    main.c:2138: warning: type defaults to `int' in declaration of `__result'
    main.c:2138: error: conflicting declarations of `__result'
    main.c:2138: error: `__result' previously defined here
    main.c:2138: warning: data definition has no type or storage class
    main.c:2138: error: syntax error before '}' token
    main.c:2140: error: syntax error before '&&' token
    main.c:2140: warning: type defaults to `int' in declaration of `__result'
    main.c:2140: warning: data definition has no type or storage class
    main.c:2140: error: syntax error before '}' token
    main.c:2140: error: conflicting declarations of `__result'
    main.c:2140: error: `__result' previously declared here
    main.c:2140: warning: `__result' was declared `extern' and later `static'
    main.c:2140: error: `s' undeclared here (not in a function)
    main.c:2140: error: `__s2' undeclared here (not in a function)
    main.c:2140: error: syntax error before "if"
    main.c:2140: warning: type defaults to `int' in declaration of `__result'
    main.c:2140: error: conflicting declarations of `__result'
    main.c:2140: error: `__result' previously defined here
    main.c:2140: warning: data definition has no type or storage class
    main.c:2140: error: syntax error before '}' token
    main.c:2140: warning: type defaults to `int' in declaration of `__result'
    main.c:2140: warning: data definition has no type or storage class
    main.c:2140: error: syntax error before '}' token
    main.c:2140: error: conflicting declarations of `__result'
    main.c:2140: error: `__result' previously declared here
    main.c:2140: warning: `__result' was declared `extern' and later `static'
    main.c:2140: error: `__s1' undeclared here (not in a function)
    main.c:2140: error: syntax error before "if"
    main.c:2140: warning: type defaults to `int' in declaration of `__result'
    main.c:2140: error: conflicting declarations of `__result'
    main.c:2140: error: `__result' previously defined here
    main.c:2140: warning: data definition has no type or storage class
    main.c:2140: error: syntax error before '}' token
    main.c:2142: error: syntax error before '&&' token
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously declared here
    main.c:2142: warning: `__result' was declared `extern' and later `static'
    main.c:2142: error: `s' undeclared here (not in a function)
    main.c:2142: error: `__s2' undeclared here (not in a function)
    main.c:2142: error: syntax error before "if"
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously defined here
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously declared here
    main.c:2142: warning: `__result' was declared `extern' and later `static'
    main.c:2142: error: `__s1' undeclared here (not in a function)
    main.c:2142: error: syntax error before "if"
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously defined here
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: error: syntax error before '&&' token
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously declared here
    main.c:2142: warning: `__result' was declared `extern' and later `static'
    main.c:2142: error: `s' undeclared here (not in a function)
    main.c:2142: error: `__s2' undeclared here (not in a function)
    main.c:2142: error: syntax error before "if"
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously defined here
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously declared here
    main.c:2142: warning: `__result' was declared `extern' and later `static'
    main.c:2142: error: `__s1' undeclared here (not in a function)
    main.c:2142: error: syntax error before "if"
    main.c:2142: warning: type defaults to `int' in declaration of `__result'
    main.c:2142: error: conflicting declarations of `__result'
    main.c:2142: error: `__result' previously defined here
    main.c:2142: warning: data definition has no type or storage class
    main.c:2142: error: syntax error before '}' token
    main.c:2147: error: syntax error before numeric constant
    main.c:2147: warning: type defaults to `int' in declaration of `exit'
    main.c:2147: error: conflicting types for `exit'
    /usr/include/stdlib.h:612: error: previous declaration of `exit'
    main.c:2147: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '&&' token
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously declared here
    main.c:2149: warning: `__result' was declared `extern' and later `static'
    main.c:2149: error: `s' undeclared here (not in a function)
    main.c:2149: error: `__s2' undeclared here (not in a function)
    main.c:2149: error: syntax error before "if"
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously defined here
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously declared here
    main.c:2149: warning: `__result' was declared `extern' and later `static'
    main.c:2149: error: `__s1' undeclared here (not in a function)
    main.c:2149: error: syntax error before "if"
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously defined here
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: error: syntax error before '&&' token
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously declared here
    main.c:2149: warning: `__result' was declared `extern' and later `static'
    main.c:2149: error: `s' undeclared here (not in a function)
    main.c:2149: error: `__s2' undeclared here (not in a function)
    main.c:2149: error: syntax error before "if"
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously defined here
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously declared here
    main.c:2149: warning: `__result' was declared `extern' and later `static'
    main.c:2149: error: `__s1' undeclared here (not in a function)
    main.c:2149: error: syntax error before "if"
    main.c:2149: warning: type defaults to `int' in declaration of `__result'
    main.c:2149: error: conflicting declarations of `__result'
    main.c:2149: error: `__result' previously defined here
    main.c:2149: warning: data definition has no type or storage class
    main.c:2149: error: syntax error before '}' token
    main.c:2152: error: syntax error before numeric constant
    main.c:2152: warning: type defaults to `int' in declaration of `exit'
    main.c:2152: warning: data definition has no type or storage class
    main.c:2157: warning: type defaults to `int' in declaration of `usage'
    main.c:2157: error: conflicting types for `usage'
    main.c:1798: error: previous declaration of `usage'
    main.c:2157: warning: data definition has no type or storage class
    main.c:2158: error: syntax error before numeric constant
    main.c:2158: warning: type defaults to `int' in declaration of `exit'
    main.c:2158: warning: data definition has no type or storage class
    main.c:2161: error: syntax error before '(' token
    main.c:2170: warning: type defaults to `int' in declaration of `check_gkrellm_directories'
    main.c:2170: error: conflicting types for `check_gkrellm_directories'
    main.c:1710: error: previous declaration of `check_gkrellm_directories'
    main.c:2170: warning: data definition has no type or storage class
    main.c:2171: warning: type defaults to `int' in declaration of `gkrellm_load_user_config'
    main.c:2171: warning: parameter names (without types) in function declaration
    main.c:2171: error: conflicting types for `gkrellm_load_user_config'
    gkrellm-private.h:376: error: previous declaration of `gkrellm_load_user_config'
    main.c:2171: warning: data definition has no type or storage class
    main.c:2172: warning: type defaults to `int' in declaration of `decorated'
    main.c:2172: error: invalid use of undefined type `struct GkrellmConfig'
    main.c:2172: error: invalid use of undefined type `struct GkrellmConfig'
    main.c:2172: warning: data definition has no type or storage class
    main.c:2173: error: syntax error before "if"
    main.c:2179: warning: type defaults to `int' in declaration of `create_widget_tree'
    main.c:2179: error: conflicting types for `create_widget_tree'
    main.c:1482: error: previous declaration of `create_widget_tree'
    main.c:2179: warning: data definition has no type or storage class
    main.c:2180: warning: type defaults to `int' in declaration of `top_window'
    main.c:2180: error: conflicting types for `top_window'
    main.c:73: error: previous declaration of `top_window'
    main.c:2180: error: request for member `window' in something not a structure or union
    main.c:2180: warning: data definition has no type or storage class
    main.c:2182: warning: type defaults to `int' in declaration of `load_builtin_monitors'
    main.c:2182: error: conflicting types for `load_builtin_monitors'
    main.c:1907: error: previous declaration of `load_builtin_monitors'
    main.c:2182: warning: data definition has no type or storage class
    main.c:2183: warning: type defaults to `int' in declaration of `gkrellm_plugins_load'
    main.c:2183: error: conflicting types for `gkrellm_plugins_load'
    gkrellm-private.h:320: error: previous declaration of `gkrellm_plugins_load'
    main.c:2183: warning: data definition has no type or storage class
    main.c:2185: warning: type defaults to `int' in declaration of `gkrellm_build'
    main.c:2185: error: conflicting types for `gkrellm_build'
    main.c:1811: error: previous declaration of `gkrellm_build'
    main.c:2185: warning: data definition has no type or storage class
    main.c:2186: warning: type defaults to `int' in declaration of `gkrellm_make_themes_list'
    main.c:2186: error: conflicting types for `gkrellm_make_themes_list'
    gkrellm-private.h:382: error: previous declaration of `gkrellm_make_themes_list'
    main.c:2186: warning: data definition has no type or storage class
    main.c:2188: error: syntax error before "if"
    main.c:2192: error: syntax error before '.' token
    main.c:2193: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2193: error: syntax error before "void"
    main.c:2196: error: syntax error before '(' token
    main.c:2196: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2198: error: syntax error before '(' token
    main.c:2198: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2200: error: syntax error before '(' token
    main.c:2200: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2202: error: syntax error before '(' token
    main.c:2202: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2204: error: syntax error before '(' token
    main.c:2204: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2206: error: syntax error before '(' token
    main.c:2206: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2209: error: syntax error before '(' token
    main.c:2209: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2211: error: syntax error before '(' token
    main.c:2211: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2213: error: syntax error before '(' token
    main.c:2213: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2215: error: syntax error before '(' token
    main.c:2215: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2217: error: syntax error before '(' token
    main.c:2217: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2219: error: syntax error before '(' token
    main.c:2219: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2222: error: syntax error before '(' token
    main.c:2222: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2224: error: syntax error before '(' token
    main.c:2224: warning: type defaults to `int' in declaration of `g_signal_connect'
    main.c:2227: warning: type defaults to `int' in declaration of `item_factory'
    main.c:2227: error: conflicting types for `item_factory'
    main.c:77: error: previous declaration of `item_factory'
    main.c:2227: warning: data definition has no type or storage class
    main.c:2229: error: syntax error before "if"
    main.c:2231: warning: type defaults to `int' in declaration of `gkrellm_winop_options'
    main.c:2231: warning: parameter names (without types) in function declaration
    main.c:2231: error: conflicting types for `gkrellm_winop_options'
    gkrellm-private.h:456: error: previous declaration of `gkrellm_winop_options'
    main.c:2231: warning: data definition has no type or storage class
    main.c:2232: error: syntax error before '.' token
    main.c:2232: warning: type defaults to `int' in declaration of `gtk_widget_show'
    main.c:2232: warning: data definition has no type or storage class
    main.c:2233: warning: type defaults to `int' in declaration of `gkrellm_winop_withdrawn'
    main.c:2233: error: conflicting types for `gkrellm_winop_withdrawn'
    gkrellm-private.h:461: error: previous declaration of `gkrellm_winop_withdrawn'main.c:2233: warning: data definition has no type or storage class
    main.c:2235: error: syntax error before "if"
    main.c:2243: error: syntax error before '.' token
    main.c:2243: warning: type defaults to `int' in declaration of `gkrellm_start_timer'
    main.c:2243: error: conflicting types for `gkrellm_start_timer'
    main.c:392: error: previous declaration of `gkrellm_start_timer'
    main.c:2243: warning: data definition has no type or storage class
    main.c:2244: warning: type defaults to `int' in declaration of `setup_signal_handler'
    main.c:2244: error: conflicting types for `setup_signal_handler'
    main.c:2021: error: previous declaration of `setup_signal_handler'
    main.c:2244: warning: data definition has no type or storage class
    main.c:2245: warning: type defaults to `int' in declaration of `gtk_main'
    main.c:2245: warning: data definition has no type or storage class
    main.c:2246: warning: type defaults to `int' in declaration of `gkrellm_save_all'
    main.c:2246: error: conflicting types for `gkrellm_save_all'
    main.c:1698: error: previous declaration of `gkrellm_save_all'
    main.c:2246: warning: data definition has no type or storage class
    main.c:2247: error: syntax error before numeric constant
    main.c:2247: warning: type defaults to `int' in declaration of `gkrellm_exit'
    main.c:2247: error: conflicting types for `gkrellm_exit'
    main.c:1952: error: previous declaration of `gkrellm_exit'
    main.c:2247: warning: data definition has no type or storage class
    gkrellm-private.h:442: error: storage size of `gpointer' isn't known
    gkrellm-public-proto.h:499: error: storage size of `gchar' isn't known
    main.c:33: error: storage size of `_GK' isn't known
    main.c:2108: error: register name not specified for `__result'
    main.c:2108: error: register name not specified for `__result'
    main.c:2108: error: register name not specified for `__result'
    main.c:2108: error: register name not specified for `__result'
    main.c:2110: error: register name not specified for `__result'
    main.c:2110: error: register name not specified for `__result'
    main.c:2110: error: register name not specified for `__result'
    main.c:2110: error: register name not specified for `__result'
    main.c:2112: error: register name not specified for `__result'
    main.c:2112: error: register name not specified for `__result'
    main.c:2114: error: register name not specified for `__result'
    main.c:2114: error: register name not specified for `__result'
    main.c:2116: error: register name not specified for `__result'
    main.c:2116: error: register name not specified for `__result'
    main.c:2116: error: register name not specified for `__result'
    main.c:2116: error: register name not specified for `__result'
    main.c:2118: error: register name not specified for `__result'
    main.c:2118: error: register name not specified for `__result'
    main.c:2118: error: register name not specified for `__result'
    main.c:2118: error: register name not specified for `__result'
    main.c:2123: error: register name not specified for `__result'
    main.c:2123: error: register name not specified for `__result'
    main.c:2125: error: register name not specified for `__result'
    main.c:2125: error: register name not specified for `__result'
    main.c:2127: error: register name not specified for `__result'
    main.c:2127: error: register name not specified for `__result'
    main.c:2127: error: register name not specified for `__result'
    main.c:2127: error: register name not specified for `__result'
    main.c:2129: error: register name not specified for `__result'
    main.c:2129: error: register name not specified for `__result'
    main.c:2136: error: register name not specified for `__result'
    main.c:2136: error: register name not specified for `__result'
    main.c:2138: error: register name not specified for `__result'
    main.c:2138: error: register name not specified for `__result'
    main.c:2140: error: register name not specified for `__result'
    main.c:2140: error: register name not specified for `__result'
    main.c:2142: error: register name not specified for `__result'
    main.c:2142: error: register name not specified for `__result'
    main.c:2142: error: register name not specified for `__result'
    main.c:2142: error: register name not specified for `__result'
    main.c:2149: error: register name not specified for `__result'
    main.c:2149: error: register name not specified for `__result'
    main.c:2149: error: register name not specified for `__result'
    main.c:2149: error: register name not specified for `__result'
    main.c:600: warning: `top_frame_button_release' defined but not used
    main.c:2179: warning: `create_widget_tree' defined but not used
    main.c:2170: warning: `check_gkrellm_directories' defined but not used
    main.c:1756: warning: `cb_destroy_event' defined but not used
    main.c:2157: warning: `usage' defined but not used
    main.c:2182: warning: `load_builtin_monitors' defined but not used
    main.c:2244: warning: `setup_signal_handler' defined but not used
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/tmp/fr-ZgCtWg/gkrellm-2.2.7/src'
    make: *** [all] Error 2
    steven@69-173-94-34:/tmp/fr-ZgCtWg/gkrellm-2.2.7$

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    765
    Dependency issues.. Looks like you don't have gtk+-2.0 installed. Or if you do, you need to run ldconfig and attempt to "make" again.
    Registered Linux user #384279
    Vector Linux SOHO 6 / Vector Linux 7 RC 3.4

  3. #3
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    i got this again
    Steven@69-173-94-34:~$ ldconfig
    ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
    steven@69-173-94-34:~$ sudo ldconfig
    Password:
    steven@69-173-94-34:~$ cd /tmp/fr-81lJMF/gkrellm-2.2.7
    steven@69-173-94-34:/tmp/fr-81lJMF/gkrellm-2.2.7$ make
    echo "prefix=/usr/local" > gkrellm.pc
    echo "Name: GKrellM" >> gkrellm.pc
    echo "Description: Extensible GTK system monitoring application" >> gkrellm.pc
    echo "Version: 2.2.7" >> gkrellm.pc
    echo "Requires: gtk+-2.0 >= 2.0.0" >> gkrellm.pc
    echo "Cflags: -I/usr/local/include" >> gkrellm.pc
    (cd po && make all)
    make[1]: Entering directory `/tmp/fr-81lJMF/gkrellm-2.2.7/po'
    msgfmt -f -v -o cs.mo cs.po
    511 translated messages, 12 untranslated messages.
    msgfmt -f -v -o da.mo da.po
    511 translated messages, 12 untranslated messages.
    msgfmt -f -v -o de.mo de.po
    523 translated messages.
    msgfmt -f -v -o es.mo es.po
    498 translated messages, 25 untranslated messages.
    msgfmt -f -v -o fr.mo fr.po
    523 translated messages.
    msgfmt -f -v -o it.mo it.po
    523 translated messages.
    msgfmt -f -v -o ja.mo ja.po
    523 translated messages.
    msgfmt -f -v -o nl.mo nl.po
    508 translated messages, 15 untranslated messages.
    msgfmt -f -v -o pl.mo pl.po
    498 translated messages, 2 fuzzy translations, 23 untranslated messages.
    msgfmt -f -v -o ru.mo ru.po
    476 translated messages, 47 untranslated messages.
    msgfmt -f -v -o sl.mo sl.po
    508 translated messages, 15 untranslated messages.
    msgfmt -f -v -o sv.mo sv.po
    471 translated messages, 12 fuzzy translations, 40 untranslated messages.
    make[1]: Leaving directory `/tmp/fr-81lJMF/gkrellm-2.2.7/po'
    (cd src && make gkrellm)
    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
    make[1]: Entering directory `/tmp/fr-81lJMF/gkrellm-2.2.7/src'
    cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0` -DENABLE_NLS -DLO CALEDIR=\"/usr/local/share/locale\" -c -o main.o main.c
    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
    /bin/sh: cc: command not found
    make[1]: *** [main.o] Error 127
    make[1]: Leaving directory `/tmp/fr-81lJMF/gkrellm-2.2.7/src'
    make: *** [all] Error 2
    steven@69-173-94-34:/tmp/fr-81lJMF/gkrellm-2.2.7$ sudo make
    (cd po && make all)
    make[1]: Entering directory `/tmp/fr-81lJMF/gkrellm-2.2.7/po'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/tmp/fr-81lJMF/gkrellm-2.2.7/po'
    (cd src && make gkrellm)
    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
    make[1]: Entering directory `/tmp/fr-81lJMF/gkrellm-2.2.7/src'
    cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0` -DENABLE_NLS -DLO CALEDIR=\"/usr/local/share/locale\" -c -o main.o main.c
    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
    /bin/sh: cc: command not found
    make[1]: *** [main.o] Error 127
    make[1]: Leaving directory `/tmp/fr-81lJMF/gkrellm-2.2.7/src'
    make: *** [all] Error 2
    steven@69-173-94-34:/tmp/fr-81lJMF/gkrellm-2.2.7$ sudo ldconfig
    steven@69-173-94-34:/tmp/fr-81lJMF/gkrellm-2.2.7$ make
    (cd po && make all)
    make[1]: Entering directory `/tmp/fr-81lJMF/gkrellm-2.2.7/po'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/tmp/fr-81lJMF/gkrellm-2.2.7/po'
    (cd src && make gkrellm)
    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
    make[1]: Entering directory `/tmp/fr-81lJMF/gkrellm-2.2.7/src'
    cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0` -DENABLE_NLS -DLOCALEDIR=\"/usr/local/share/locale\" -c -o main.o main.c
    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
    /bin/sh: cc: command not found
    make[1]: *** [main.o] Error 127
    make[1]: Leaving directory `/tmp/fr-81lJMF/gkrellm-2.2.7/src'
    make: *** [all] Error 2

  4. #4
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    765
    If ldconfig ran properly and you're still getting the GTK +2 error, most likely you need to install that first.
    Registered Linux user #384279
    Vector Linux SOHO 6 / Vector Linux 7 RC 3.4

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    80
    Why not, apt-get install gkrellm?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •