durny Napisano Listopad 2, 2005 Zgłoszenie Share Napisano Listopad 2, 2005 Wiatm mam nastepujący problem chciałbym zainstalować xmmsctrl ale niemogę znaleźć paczek dla FC4 tylko mdk i suse Więc ściągnąłem źródła i po make wywala mi masę błędów. Z góry dziekuję za wszelka pomoc. [root@localhost xmmsctrl-1.9]# make make: xmms-config: Polecenie nie znalezione make: xmms-config: Polecenie nie znalezione gcc -o xmmsctrl xmmsctrl.c removefile.c -Wall -Wshadow -Wmissing-prototypes -W -O2 -DPRETTY_PRINT -D_GNU_SOURCE -DVERSION=\"1.9\" xmmsctrl.c:35:57: error: xmms/xmmsctrl.h: Nie ma takiego pliku ani katalogu xmmsctrl.c:46: error: syntax error before ‘is_stream_playing’ xmmsctrl.c:46: warning: type defaults to ‘int’ in declaration of ‘is_stream_playing’ xmmsctrl.c:46: warning: parameter names (without types) in function declaration xmmsctrl.c:46: warning: data definition has no type or storage class xmmsctrl.c:49: warning: parameter names (without types) in function declaration xmmsctrl.c:50: warning: parameter names (without types) in function declaration xmmsctrl.c:51: warning: parameter names (without types) in function declaration xmmsctrl.c:52: warning: parameter names (without types) in function declaration xmmsctrl.c:53: error: syntax error before ‘session’ xmmsctrl.c:54: warning: parameter names (without types) in function declaration xmmsctrl.c:55: warning: parameter names (without types) in function declaration xmmsctrl.c:56: warning: parameter names (without types) in function declaration xmmsctrl.c:57: warning: parameter names (without types) in function declaration xmmsctrl.c:58: warning: parameter names (without types) in function declaration xmmsctrl.c:59: warning: parameter names (without types) in function declaration xmmsctrl.c:60: warning: parameter names (without types) in function declaration xmmsctrl.c:61: warning: parameter names (without types) in function declaration xmmsctrl.c:64: error: syntax error before ‘char’ xmmsctrl.c:65: error: syntax error before ‘char’ xmmsctrl.c:66: error: syntax error before ‘char’ xmmsctrl.c:67: error: syntax error before ‘char’ xmmsctrl.c:68: error: syntax error before ‘char’ xmmsctrl.c:69: error: syntax error before ‘char’ xmmsctrl.c:70: error: syntax error before ‘char’ xmmsctrl.c:71: error: syntax error before ‘char’ xmmsctrl.c:72: error: syntax error before ‘char’ xmmsctrl.c:90: warning: parameter names (without types) in function declaration xmmsctrl.c:109: error: ‘xmms_remote_eject’ undeclared here (not in a function) xmmsctrl.c:139: error: ‘xmms_remote_playlist_next’ undeclared here (not in a function) xmmsctrl.c:144: error: ‘xmms_remote_pause’ undeclared here (not in a function) xmmsctrl.c:149: error: ‘xmms_remote_play’ undeclared here (not in a function) xmmsctrl.c:164: error: ‘xmms_remote_show_prefs_box’ undeclared here (not in a function) xmmsctrl.c:169: error: ‘xmms_remote_playlist_prev’ undeclared here (not in a function) xmmsctrl.c:184: error: ‘xmms_remote_toggle_repeat’ undeclared here (not in a function) xmmsctrl.c:189: error: ‘xmms_remote_toggle_shuffle’ undeclared here (not in a function) xmmsctrl.c:194: error: ‘xmms_remote_stop’ undeclared here (not in a function) xmmsctrl.c:209: error: ‘xmms_remote_quit’ undeclared here (not in a function) xmmsctrl.c:223: error: syntax error before ‘gboolean’ xmmsctrl.c:223: warning: no semicolon at end of struct or union xmmsctrl.c:225: error: syntax error before ‘}’ token xmmsctrl.c:225: warning: type defaults to ‘int’ in declaration of ‘Test’ xmmsctrl.c:225: warning: data definition has no type or storage class xmmsctrl.c:229: error: syntax error before ‘test’ xmmsctrl.c:229: warning: type defaults to ‘int’ in declaration of ‘test’ xmmsctrl.c:230: warning: braces around scalar initializer xmmsctrl.c:230: warning: (near initialization for ‘test[0]’) xmmsctrl.c:231: warning: initialization makes integer from pointer without a cast xmmsctrl.c:232: error: ‘xmms_remote_is_paused’ undeclared here (not in a function) xmmsctrl.c:232: warning: excess elements in scalar initializer xmmsctrl.c:232: warning: (near initialization for ‘test[0]’) xmmsctrl.c:234: warning: excess elements in scalar initializer xmmsctrl.c:234: warning: (near initialization for ‘test[0]’) xmmsctrl.c:235: warning: braces around scalar initializer xmmsctrl.c:235: warning: (near initialization for ‘test[1]’) xmmsctrl.c:236: warning: initialization makes integer from pointer without a cast xmmsctrl.c:237: error: ‘xmms_remote_is_playing’ undeclared here (not in a function) xmmsctrl.c:237: warning: excess elements in scalar initializer xmmsctrl.c:237: warning: (near initialization for ‘test[1]’) xmmsctrl.c:239: warning: excess elements in scalar initializer xmmsctrl.c:239: warning: (near initialization for ‘test[1]’) xmmsctrl.c:240: warning: braces around scalar initializer xmmsctrl.c:240: warning: (near initialization for ‘test[2]’) xmmsctrl.c:241: warning: initialization makes integer from pointer without a cast xmmsctrl.c:242: error: ‘xmms_remote_is_eq_win’ undeclared here (not in a function) xmmsctrl.c:242: warning: excess elements in scalar initializer xmmsctrl.c:242: warning: (near initialization for ‘test[2]’) xmmsctrl.c:244: warning: excess elements in scalar initializer xmmsctrl.c:244: warning: (near initialization for ‘test[2]’) xmmsctrl.c:245: warning: braces around scalar initializer xmmsctrl.c:245: warning: (near initialization for ‘test[3]’) xmmsctrl.c:246: warning: initialization makes integer from pointer without a cast xmmsctrl.c:247: error: ‘xmms_remote_is_main_win’ undeclared here (not in a function) xmmsctrl.c:247: warning: excess elements in scalar initializer xmmsctrl.c:247: warning: (near initialization for ‘test[3]’) xmmsctrl.c:249: warning: excess elements in scalar initializer xmmsctrl.c:249: warning: (near initialization for ‘test[3]’) xmmsctrl.c:250: warning: braces around scalar initializer xmmsctrl.c:250: warning: (near initialization for ‘test[4]’) xmmsctrl.c:251: warning: initialization makes integer from pointer without a cast xmmsctrl.c:252: error: ‘xmms_remote_is_pl_win’ undeclared here (not in a function) xmmsctrl.c:252: warning: excess elements in scalar initializer xmmsctrl.c:252: warning: (near initialization for ‘test[4]’) xmmsctrl.c:254: warning: excess elements in scalar initializer xmmsctrl.c:254: warning: (near initialization for ‘test[4]’) xmmsctrl.c:255: warning: braces around scalar initializer xmmsctrl.c:255: warning: (near initialization for ‘test[5]’) xmmsctrl.c:256: warning: initialization makes integer from pointer without a cast xmmsctrl.c:257: warning: excess elements in scalar initializer xmmsctrl.c:257: warning: (near initialization for ‘test[5]’) xmmsctrl.c:259: warning: excess elements in scalar initializer xmmsctrl.c:259: warning: (near initialization for ‘test[5]’) xmmsctrl.c:260: warning: braces around scalar initializer xmmsctrl.c:260: warning: (near initialization for ‘test[6]’) xmmsctrl.c:261: warning: initialization makes integer from pointer without a cast xmmsctrl.c:262: error: ‘xmms_remote_is_running’ undeclared here (not in a function) xmmsctrl.c:262: warning: excess elements in scalar initializer xmmsctrl.c:262: warning: (near initialization for ‘test[6]’) xmmsctrl.c:264: warning: excess elements in scalar initializer xmmsctrl.c:264: warning: (near initialization for ‘test[6]’) xmmsctrl.c:265: warning: data definition has no type or storage class xmmsctrl.c:271: warning: parameter names (without types) in function declaration xmmsctrl.c:280: error: ‘xmms_remote_eq_win_toggle’ undeclared here (not in a function) xmmsctrl.c:285: error: ‘xmms_remote_main_win_toggle’ undeclared here (not in a function) xmmsctrl.c:290: error: ‘xmms_remote_pl_win_toggle’ undeclared here (not in a function) xmmsctrl.c:299: error: syntax error before ‘char’ xmmsctrl.c:399: error: syntax error before ‘session’ xmmsctrl.c:399: warning: ‘print_length’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_length’: xmmsctrl.c:399: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:399: error: (Each undeclared identifier is reported only once xmmsctrl.c:399: error: for each function it appears in.) xmmsctrl.c: At top level: xmmsctrl.c:400: error: syntax error before ‘session’ xmmsctrl.c:400: warning: ‘print_current’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_current’: xmmsctrl.c:400: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:401: error: syntax error before ‘session’ xmmsctrl.c:401: warning: ‘print_volume’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_volume’: xmmsctrl.c:401: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:402: error: syntax error before ‘session’ xmmsctrl.c:402: warning: ‘print_time’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_time’: xmmsctrl.c:402: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:403: error: syntax error before ‘session’ xmmsctrl.c:403: warning: ‘print_current_title’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_current_title’: xmmsctrl.c:403: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:404: error: syntax error before ‘session’ xmmsctrl.c:404: warning: ‘print_playlist’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_playlist’: xmmsctrl.c:404: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:405: error: syntax error before ‘session’ xmmsctrl.c:405: warning: ‘print_playfiles’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_playfiles’: xmmsctrl.c:405: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:406: error: syntax error before ‘session’ xmmsctrl.c:406: warning: ‘print_current_pos’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_current_pos’: xmmsctrl.c:406: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:412: error: syntax error before ‘is_stream_playing’ xmmsctrl.c:412: error: syntax error before ‘session’ xmmsctrl.c:412: warning: return type defaults to ‘int’ xmmsctrl.c:412: warning: no previous prototype for ‘is_stream_playing’ xmmsctrl.c: In function ‘is_stream_playing’: xmmsctrl.c:413: warning: implicit declaration of function ‘xmms_remote_get_playlist_file’ xmmsctrl.c:413: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:413: warning: implicit declaration of function ‘xmms_remote_get_playlist_pos’ xmmsctrl.c:413: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:413: warning: passing argument 2 of ‘strncmp’ makes pointer from integer without a cast xmmsctrl.c: At top level: xmmsctrl.c:425: error: syntax error before ‘session’ xmmsctrl.c:425: warning: ‘play_prev’ was used with no prototype before its definition xmmsctrl.c: In function ‘play_prev’: xmmsctrl.c:426: error: syntax error before ‘DEV’ xmmsctrl.c:427: error: ‘gint’ undeclared (first use in this function) xmmsctrl.c:429: error: ‘DEV’ undeclared (first use in this function) xmmsctrl.c:429: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:429: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:429: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast xmmsctrl.c:429: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: warning: comparison between pointer and integer xmmsctrl.c:429: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: warning: comparison between pointer and integer xmmsctrl.c:429: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: warning: statement with no effect xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: warning: statement with no effect xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: warning: statement with no effect xmmsctrl.c:429: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast xmmsctrl.c:429: error: invalid operands to binary - xmmsctrl.c:429: warning: comparison between pointer and integer xmmsctrl.c:429: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:429: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 2 of ‘__builtin_strcmp’ makes pointer from integer without a cast xmmsctrl.c:429: warning: passing argument 1 of ‘strncmp’ from incompatible pointer type xmmsctrl.c:429: warning: passing argument 2 of ‘strncmp’ makes pointer from integer without a cast xmmsctrl.c:434: error: ‘first’ undeclared (first use in this function) xmmsctrl.c:434: warning: statement with no effect xmmsctrl.c:437: warning: comparison between pointer and integer xmmsctrl.c:438: warning: implicit declaration of function ‘xmms_remote_playlist_prev’ xmmsctrl.c:438: warning: declaration of ‘xmms_remote_playlist_prev’ shadows previous non-variable xmmsctrl.c:440: warning: implicit declaration of function ‘xmms_remote_set_playlist_pos’ xmmsctrl.c:440: warning: implicit declaration of function ‘xmms_remote_get_playlist_length’ xmmsctrl.c: At top level: xmmsctrl.c:447: error: syntax error before ‘session’ xmmsctrl.c:447: warning: ‘remove_from_playlist’ was used with no prototype before its definition xmmsctrl.c: In function ‘remove_from_playlist’: xmmsctrl.c:448: warning: implicit declaration of function ‘xmms_remote_playlist_delete’ xmmsctrl.c:448: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:456: error: syntax error before ‘session’ xmmsctrl.c:456: warning: ‘set_track’ was used with no prototype before its definition xmmsctrl.c: In function ‘set_track’: xmmsctrl.c:459: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c:459: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: warning: comparison between pointer and integer xmmsctrl.c:459: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: warning: comparison between pointer and integer xmmsctrl.c:459: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:459: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: warning: statement with no effect xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: warning: statement with no effect xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: warning: statement with no effect xmmsctrl.c:459: error: invalid operands to binary - xmmsctrl.c:459: warning: comparison between pointer and integer xmmsctrl.c:459: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:459: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:460: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:462: warning: passing argument 1 of ‘atoi’ from incompatible pointer type xmmsctrl.c: At top level: xmmsctrl.c:474: error: syntax error before ‘session’ xmmsctrl.c:474: warning: ‘set_vol’ was used with no prototype before its definition xmmsctrl.c: In function ‘set_vol’: xmmsctrl.c:475: error: ‘gint’ undeclared (first use in this function) xmmsctrl.c:475: error: syntax error before ‘vol’ xmmsctrl.c:477: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c:477: error: switch quantity not an integer xmmsctrl.c:483: error: ‘vol’ undeclared (first use in this function) xmmsctrl.c:483: warning: passing argument 1 of ‘atoi’ from incompatible pointer type xmmsctrl.c:483: warning: statement with no effect xmmsctrl.c:487: warning: passing argument 1 of ‘atoi’ from incompatible pointer type xmmsctrl.c:487: warning: statement with no effect xmmsctrl.c:491: warning: ordered comparison of pointer with integer zero xmmsctrl.c:492: warning: statement with no effect xmmsctrl.c:493: warning: comparison between pointer and integer xmmsctrl.c:494: warning: statement with no effect xmmsctrl.c:496: warning: implicit declaration of function ‘xmms_remote_set_main_volume’ xmmsctrl.c:496: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:503: error: syntax error before ‘session’ xmmsctrl.c:503: warning: ‘set_time’ was used with no prototype before its definition xmmsctrl.c: In function ‘set_time’: xmmsctrl.c:504: error: ‘gint’ undeclared (first use in this function) xmmsctrl.c:504: error: syntax error before ‘ptime’ xmmsctrl.c:508: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c:508: error: switch quantity not an integer xmmsctrl.c:514: error: ‘ptime’ undeclared (first use in this function) xmmsctrl.c:514: warning: passing argument 1 of ‘atoi’ from incompatible pointer type xmmsctrl.c:514: warning: statement with no effect xmmsctrl.c:522: error: ‘length’ undeclared (first use in this function) xmmsctrl.c:522: warning: passing argument 1 of ‘atoi’ from incompatible pointer type xmmsctrl.c:522: warning: statement with no effect xmmsctrl.c:526: warning: passing argument 1 of ‘atoi’ from incompatible pointer type xmmsctrl.c:526: warning: statement with no effect xmmsctrl.c:530: warning: ordered comparison of pointer with integer zero xmmsctrl.c:531: warning: statement with no effect xmmsctrl.c:533: warning: statement with no effect xmmsctrl.c:535: warning: implicit declaration of function ‘xmms_remote_jump_to_time’ xmmsctrl.c:535: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:542: error: syntax error before ‘session’ xmmsctrl.c:542: warning: ‘add_file’ was used with no prototype before its definition xmmsctrl.c: In function ‘add_file’: xmmsctrl.c:543: warning: implicit declaration of function ‘xmms_remote_playlist_add_url_string’ xmmsctrl.c:543: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:543: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:550: error: syntax error before ‘session’ xmmsctrl.c:550: warning: ‘clear_playlist’ was used with no prototype before its definition xmmsctrl.c: In function ‘clear_playlist’: xmmsctrl.c:551: warning: implicit declaration of function ‘xmms_remote_playlist_clear’ xmmsctrl.c:551: error: ‘session’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:558: error: syntax error before ‘session’ xmmsctrl.c:558: warning: ‘set_dir’ was used with no prototype before its definition xmmsctrl.c: In function ‘set_dir’: xmmsctrl.c:559: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:560: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:579: error: syntax error before ‘unused’ xmmsctrl.c:579: warning: ‘def_eq’ was used with no prototype before its definition xmmsctrl.c: In function ‘def_eq’: xmmsctrl.c:581: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c:581: warning: statement with no effect xmmsctrl.c: At top level: xmmsctrl.c:587: error: syntax error before ‘unused’ xmmsctrl.c:587: warning: ‘def_neq’ was used with no prototype before its definition xmmsctrl.c: In function ‘def_neq’: xmmsctrl.c:589: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c:589: warning: statement with no effect xmmsctrl.c: At top level: xmmsctrl.c:596: error: syntax error before ‘session’ xmmsctrl.c: In function ‘exec_print’: xmmsctrl.c:597: error: ‘gint’ undeclared (first use in this function) xmmsctrl.c:597: error: syntax error before ‘start’ xmmsctrl.c:600: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c:602: error: ‘depth’ undeclared (first use in this function) xmmsctrl.c:602: warning: comparison between pointer and integer xmmsctrl.c:610: error: ‘start’ undeclared (first use in this function) xmmsctrl.c:610: warning: statement with no effect xmmsctrl.c:611: error: ‘end’ undeclared (first use in this function) xmmsctrl.c:611: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:611: warning: statement with no effect xmmsctrl.c:614: error: ‘i’ undeclared (first use in this function) xmmsctrl.c:614: warning: statement with no effect xmmsctrl.c:614: error: wrong type argument to increment xmmsctrl.c:614: warning: statement with no effect xmmsctrl.c:615: warning: statement with no effect xmmsctrl.c:619: error: syntax error before ‘pos’ xmmsctrl.c:621: error: syntax error before ‘x’ xmmsctrl.c:625: error: ‘pos’ undeclared (first use in this function) xmmsctrl.c:625: warning: statement with no effect xmmsctrl.c:629: warning: statement with no effect xmmsctrl.c:632: error: invalid operands to binary * xmmsctrl.c:632: warning: statement with no effect xmmsctrl.c:635: error: wrong type argument to decrement xmmsctrl.c:635: warning: ordered comparison of pointer with integer zero xmmsctrl.c:635: warning: statement with no effect xmmsctrl.c:647: warning: implicit declaration of function ‘xmms_remote_get_playlist_title’ xmmsctrl.c:647: warning: assignment makes pointer from integer without a cast xmmsctrl.c:654: warning: assignment makes pointer from integer without a cast xmmsctrl.c:661: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘struct ToggleCommand *’ xmmsctrl.c:664: warning: implicit declaration of function ‘xmms_remote_get_output_time’ xmmsctrl.c:667: warning: implicit declaration of function ‘xmms_remote_get_playlist_time’ xmmsctrl.c:670: error: ‘x’ undeclared (first use in this function) xmmsctrl.c:670: warning: statement with no effect xmmsctrl.c:671: error: invalid operands to binary / xmmsctrl.c:671: error: invalid operands to binary % xmmsctrl.c:671: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘struct ToggleCommand *’ xmmsctrl.c:671: warning: format ‘%-2.2d’ expects type ‘int’, but argument 3 has type ‘struct ToggleCommand *’ xmmsctrl.c:674: warning: statement with no effect xmmsctrl.c:675: error: invalid operands to binary / xmmsctrl.c:675: error: invalid operands to binary % xmmsctrl.c:675: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘struct ToggleCommand *’ xmmsctrl.c:675: warning: format ‘%-2.2d’ expects type ‘int’, but argument 3 has type ‘struct ToggleCommand *’ xmmsctrl.c:678: warning: implicit declaration of function ‘xmms_remote_get_main_volume’ xmmsctrl.c:684: warning: statement with no effect xmmsctrl.c:686: error: invalid operands to binary / xmmsctrl.c:686: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘struct ToggleCommand *’ xmmsctrl.c:691: warning: statement with no effect xmmsctrl.c:693: error: invalid operands to binary * xmmsctrl.c:693: warning: statement with no effect xmmsctrl.c:696: error: wrong type argument to decrement xmmsctrl.c:696: warning: statement with no effect xmmsctrl.c:697: error: ‘current’ undeclared (first use in this function) xmmsctrl.c:698: warning: ordered comparison of pointer with integer zero xmmsctrl.c:698: warning: comparison between pointer and integer xmmsctrl.c:698: error: array subscript is not an integer xmmsctrl.c:698: error: request for member ‘eq’ in something not a structure or union xmmsctrl.c:698: error: array subscript is not an integer xmmsctrl.c:698: error: request for member ‘eq’ in something not a structure or union xmmsctrl.c:700: warning: ordered comparison of pointer with integer zero xmmsctrl.c:700: warning: comparison between pointer and integer xmmsctrl.c:700: error: array subscript is not an integer xmmsctrl.c:700: error: request for member ‘neq’ in something not a structure or union xmmsctrl.c:700: error: array subscript is not an integer xmmsctrl.c:700: error: request for member ‘neq’ in something not a structure or union xmmsctrl.c: At top level: xmmsctrl.c:719: error: syntax error before ‘session’ xmmsctrl.c:719: warning: ‘print’ was used with no prototype before its definition xmmsctrl.c: In function ‘print’: xmmsctrl.c:720: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:720: error: ‘arg’ undeclared (first use in this function) xmmsctrl.c: At top level: xmmsctrl.c:728: error: syntax error before ‘dummy’ xmmsctrl.c:728: warning: ‘print_help’ was used with no prototype before its definition xmmsctrl.c: In function ‘print_help’: xmmsctrl.c:766: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:766: error: request for member ‘help’ in something not a structure or union xmmsctrl.c:766: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘struct ToggleCommand *’ xmmsctrl.c:766: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘struct ToggleCommand *’ xmmsctrl.c: At top level: xmmsctrl.c:803: error: syntax error before ‘launch_xmms’ xmmsctrl.c:803: warning: return type defaults to ‘int’ xmmsctrl.c:803: warning: no previous prototype for ‘launch_xmms’ xmmsctrl.c: In function ‘launch_xmms’: xmmsctrl.c:804: error: ‘gint’ undeclared (first use in this function) xmmsctrl.c:804: error: syntax error before ‘session’ xmmsctrl.c:821: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:821: warning: statement with no effect xmmsctrl.c:821: warning: comparison between pointer and integer xmmsctrl.c:821: error: wrong type argument to increment xmmsctrl.c:821: warning: statement with no effect xmmsctrl.c:822: warning: implicit declaration of function ‘xmms_remote_is_running’ xmmsctrl.c:822: warning: declaration of ‘xmms_remote_is_running’ shadows previous non-variable xmmsctrl.c:823: warning: return makes integer from pointer without a cast xmmsctrl.c: In function ‘main’: xmmsctrl.c:833: error: ‘gint’ undeclared (first use in this function) xmmsctrl.c:833: error: syntax error before ‘session’ xmmsctrl.c:841: error: ‘session’ undeclared (first use in this function) xmmsctrl.c:841: warning: statement with no effect xmmsctrl.c:841: warning: comparison between pointer and integer xmmsctrl.c:841: error: wrong type argument to increment xmmsctrl.c:841: warning: statement with no effect xmmsctrl.c:845: warning: comparison between pointer and integer xmmsctrl.c:850: warning: statement with no effect xmmsctrl.c:862: warning: statement with no effect xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: warning: comparison between pointer and integer xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: warning: comparison between pointer and integer xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: warning: comparison between pointer and integer xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: warning: passing argument 1 of ‘strlen’ from incompatible pointer type xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: warning: statement with no effect xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: warning: statement with no effect xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: error: invalid operands to binary - xmmsctrl.c:879: warning: statement with no effect xmmsctrl.c:879: error: request for member ‘name’ in something not a structure or union xmmsctrl.c:879: warning: passing argument 2 of ‘__builtin_strcmp’ from incompatible pointer type xmmsctrl.c:880: error: request for member ‘test’ in something not a structure or union xmmsctrl.c:880: error: called object ‘&<erroneous-expression>’ is not a function removefile.c:35:57: error: xmms/xmmsctrl.h: Nie ma takiego pliku ani katalogu removefile.c:38: error: syntax error before ‘session’ removefile.c:39: warning: parameter names (without types) in function declaration removefile.c:47: error: syntax error before ‘gint’ removefile.c:47: warning: no semicolon at end of struct or union removefile.c:48: warning: type defaults to ‘int’ in declaration of ‘song_t’ removefile.c:48: warning: data definition has no type or storage class removefile.c:54: warning: type defaults to ‘int’ in declaration of ‘song_t’ removefile.c:54: warning: declaration of ‘song_t’ shadows a global declaration removefile.c:48: warning: shadowed declaration is here removefile.c:54: error: syntax error before ‘*’ token removefile.c: In function ‘add_index’: removefile.c:59: error: ‘nb_pos’ undeclared (first use in this function) removefile.c:59: error: (Each undeclared identifier is reported only once removefile.c:59: error: for each function it appears in.) removefile.c:59: error: ‘nb_songs’ undeclared (first use in this function) removefile.c:60: error: ‘pwd’ undeclared (first use in this function) removefile.c:61: error: ‘filename’ undeclared (first use in this function) removefile.c:65: error: ‘root_len’ undeclared (first use in this function) removefile.c:74: error: ‘gint’ undeclared (first use in this function) removefile.c:74: error: syntax error before ‘nb’ removefile.c:75: error: syntax error before ‘*’ token removefile.c:77: error: ‘nb’ undeclared (first use in this function) removefile.c:78: error: syntax error before ‘middle’ removefile.c:79: error: ‘start’ undeclared (first use in this function) removefile.c:79: error: ‘middle’ undeclared (first use in this function) removefile.c:89: error: ‘pos’ undeclared (first use in this function) removefile.c: At top level: removefile.c:105: warning: type defaults to ‘int’ in declaration of ‘song_t’ removefile.c:105: warning: declaration of ‘song_t’ shadows a global declaration removefile.c:48: warning: shadowed declaration is here removefile.c:105: error: syntax error before ‘*’ token removefile.c: In function ‘remove_dirname’: removefile.c:108: error: ‘dirname’ undeclared (first use in this function) removefile.c:131: error: ‘root_len’ undeclared (first use in this function) removefile.c:131: error: ‘start_songs’ undeclared (first use in this function) removefile.c:131: error: ‘nb_songs’ undeclared (first use in this function) removefile.c:131: error: ‘pos’ undeclared (first use in this function) removefile.c:131: error: ‘nb_pos’ undeclared (first use in this function) removefile.c: In function ‘song_compare’: removefile.c:147: error: syntax error before ‘*’ token removefile.c:148: error: syntax error before ‘*’ token removefile.c:149: error: ‘s1’ undeclared (first use in this function) removefile.c:149: error: ‘s2’ undeclared (first use in this function) removefile.c:146: warning: unused parameter ‘p1’ removefile.c:146: warning: unused parameter ‘p2’ removefile.c: In function ‘index_compare’: removefile.c:155: error: syntax error before ‘*’ token removefile.c:156: error: syntax error before ‘*’ token removefile.c:157: error: ‘i1’ undeclared (first use in this function) removefile.c:157: error: ‘i2’ undeclared (first use in this function) removefile.c:154: warning: unused parameter ‘p1’ removefile.c:154: warning: unused parameter ‘p2’ removefile.c: At top level: removefile.c:161: error: syntax error before ‘session’ removefile.c:161: warning: no previous prototype for ‘remove_file’ removefile.c: In function ‘remove_file’: removefile.c:164: error: ‘filename’ undeclared (first use in this function) removefile.c:167: error: ‘gint’ undeclared (first use in this function) removefile.c:167: error: syntax error before ‘list_size’ removefile.c:168: error: ‘play_list’ undeclared (first use in this function) removefile.c:189: error: ‘list_size’ undeclared (first use in this function) removefile.c:189: warning: implicit declaration of function ‘xmms_remote_get_playlist_length’ removefile.c:189: error: ‘session’ undeclared (first use in this function) removefile.c:190: error: syntax error before ‘)’ token removefile.c:193: error: ‘remove_pos’ undeclared (first use in this function) removefile.c:193: error: syntax error before ‘)’ token removefile.c:198: error: syntax error before ‘i’ removefile.c:200: error: ‘i’ undeclared (first use in this function) removefile.c:201: warning: implicit declaration of function ‘xmms_remote_get_playlist_file’ removefile.c:220: warning: implicit declaration of function ‘xmms_remote_playlist_delete’ removefile.c: At top level: removefile.c:234: error: syntax error before ‘session’ removefile.c:234: warning: no previous prototype for ‘unique’ removefile.c: In function ‘unique’: removefile.c:235: error: ‘gint’ undeclared (first use in this function) removefile.c:235: error: syntax error before ‘list_size’ removefile.c:236: error: ‘play_list’ undeclared (first use in this function) removefile.c:236: error: syntax error before ‘)’ token removefile.c:238: error: ‘remove_pos’ undeclared (first use in this function) removefile.c:238: error: ‘list_size’ undeclared (first use in this function) removefile.c:241: error: syntax error before ‘i’ removefile.c:242: error: ‘i’ undeclared (first use in this function) removefile.c:243: error: ‘session’ undeclared (first use in this function) removefile.c:247: error: ‘current’ undeclared (first use in this function) removefile.c:247: warning: implicit declaration of function ‘xmms_remote_get_playlist_pos’ removefile.c:250: error: ‘n’ undeclared (first use in this function) make: *** [xmmsctrl] Błąd 1 [root@localhost xmmsctrl-1.9]# ]EDIT Ok juz działa zainstalowałem xmms-devel Niebyło tematu Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
gajownik Napisano Listopad 2, 2005 Zgłoszenie Share Napisano Listopad 2, 2005 [root@localhost xmmsctrl-1.9]# make A tak na przyszłość, to nie kompiluje się programów na koncie roota. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
durny Napisano Listopad 2, 2005 Autor Zgłoszenie Share Napisano Listopad 2, 2005 Własnie mógłby mi wkońcu ktoś pokrótce wytłumaczyć dlaczego nie kompiluje się programów z kona roota ? Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się