PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler beim oddcast compilieren



DJ-JP
25.10.03, 20:37
Hi,
habe mir mal das oddcast xmms Plugin gesaugt um mit xmms auf einem shoutcast Server zu streamen. ./configure hat nachdem ich verschiedene -devel Pakete nachinstalliert hab auch wunderbar geklappt. Wenn ich nun aber make eingebe dann gibt er folgende Fehlermeldungen aus:

In file included from dsp_oddcast_xmms.cpp:16:
/usr/include/xmms/plugin.h:27:18: glib.h: No such file or directory
In file included from dsp_oddcast_xmms.cpp:16:
/usr/include/xmms/plugin.h:73: error: `gpointer' was not declared in this scope
/usr/include/xmms/plugin.h:73: error: `data' was not declared in this scope
/usr/include/xmms/plugin.h:73: error: `gint' was not declared in this scope
/usr/include/xmms/plugin.h:73: error: parse error before `,' token
/usr/include/xmms/plugin.h:74: error: type specifier omitted for parameter `
gint'
/usr/include/xmms/plugin.h:74: error: parse error before `*' token
/usr/include/xmms/plugin.h:93: error: syntax error before `*' token
/usr/include/xmms/plugin.h:119: error: syntax error before `*' token
/usr/include/xmms/plugin.h:153: error: `gint16' was not declared in this scope
/usr/include/xmms/plugin.h:153: error: parse error before `[' token
/usr/include/xmms/plugin.h:154: error: `gint16' was not declared in this scope
/usr/include/xmms/plugin.h:154: error: parse error before `[' token
dsp_oddcast_xmms.cpp:17:22: xmmsctrl.h: No such file or directory
In file included from dsp_oddcast_xmms.cpp:18:
/usr/include/xmms/configfile.h:21:18: glib.h: No such file or directory
In file included from dsp_oddcast_xmms.cpp:18:
/usr/include/xmms/configfile.h:25: error: syntax error before `*' token
/usr/include/xmms/configfile.h:26: error: syntax error before `*' token
/usr/include/xmms/configfile.h:32: error: syntax error before `*' token
/usr/include/xmms/configfile.h:33: error: syntax error before `*' token
/usr/include/xmms/configfile.h:39: error: syntax error before `*' token
/usr/include/xmms/configfile.h:48: error: `gchar' was not declared in this
scope
/usr/include/xmms/configfile.h:48: error: `filename' was not declared in this
scope
/usr/include/xmms/configfile.h:49: error: parse error before `*' token
/usr/include/xmms/configfile.h:52: error: parse error before `*' token
/usr/include/xmms/configfile.h:54: error: parse error before `*' token
/usr/include/xmms/configfile.h:55: error: parse error before `*' token
/usr/include/xmms/configfile.h:56: error: parse error before `*' token
/usr/include/xmms/configfile.h:57: error: parse error before `*' token
/usr/include/xmms/configfile.h:58: error: parse error before `*' token
/usr/include/xmms/configfile.h:60: error: type specifier omitted for parameter
`gchar'
/usr/include/xmms/configfile.h:60: error: parse error before `*' token
/usr/include/xmms/configfile.h:61: error: type specifier omitted for parameter
`gchar'
/usr/include/xmms/configfile.h:61: error: parse error before `*' token
/usr/include/xmms/configfile.h:62: error: type specifier omitted for parameter
`gchar'
/usr/include/xmms/configfile.h:62: error: parse error before `*' token
/usr/include/xmms/configfile.h:63: error: type specifier omitted for parameter
`gchar'
/usr/include/xmms/configfile.h:63: error: parse error before `*' token
/usr/include/xmms/configfile.h:64: error: type specifier omitted for parameter
`gchar'
/usr/include/xmms/configfile.h:64: error: parse error before `*' token
/usr/include/xmms/configfile.h:66: error: type specifier omitted for parameter
`gchar'
/usr/include/xmms/configfile.h:66: error: parse error before `*' token
dsp_oddcast_xmms.cpp:19:21: gtk/gtk.h: No such file or directory
dsp_oddcast_xmms.cpp:24: error: type specifier omitted for parameter `gint'
dsp_oddcast_xmms.cpp:24: error: parse error before `*' token
dsp_oddcast_xmms.cpp:25: error: `gpointer' was not declared in this scope
dsp_oddcast_xmms.cpp:25: error: `data' was not declared in this scope
dsp_oddcast_xmms.cpp:25: error: `gint' was not declared in this scope
dsp_oddcast_xmms.cpp:25: error: parse error before `,' token
dsp_oddcast_xmms.cpp:57: error: syntax error before `*' token
dsp_oddcast_xmms.cpp:58: error: syntax error before `*' token
dsp_oddcast_xmms.cpp:59: error: syntax error before `*' token
dsp_oddcast_xmms.cpp:60: error: syntax error before `*' token
dsp_oddcast_xmms.cpp:61: error: syntax error before `*' token
dsp_oddcast_xmms.cpp:62: error: syntax error before `*' token
dsp_oddcast_xmms.cpp:76: error: `GtkButton' was not declared in this scope
dsp_oddcast_xmms.cpp:76: error: `button' was not declared in this scope
dsp_oddcast_xmms.cpp:76: error: `gpointer' was not declared in this scope
dsp_oddcast_xmms.cpp:76: error: parse error before `)' token
dsp_oddcast_xmms.cpp: In function `void on_save_clicked(...)':
dsp_oddcast_xmms.cpp:79: error: `pipe_path' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:79: error: (Each undeclared identifier is reported only
once for each function it appears in.)
dsp_oddcast_xmms.cpp:79: error: `GTK_ENTRY' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:79: error: `gtk_entry_get_text' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:88: error: `config_window' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:88: error: `gtk_widget_destroy' undeclared (first use this
function)
dsp_oddcast_xmms.cpp: At global scope:
dsp_oddcast_xmms.cpp:91: error: `GtkButton' was not declared in this scope
dsp_oddcast_xmms.cpp:91: error: `button' was not declared in this scope
dsp_oddcast_xmms.cpp:91: error: `gpointer' was not declared in this scope
dsp_oddcast_xmms.cpp:91: error: parse error before `)' token
dsp_oddcast_xmms.cpp: In function `void on_cancel_clicked(...)':
dsp_oddcast_xmms.cpp:93: error: `gtk_widget_destroy' undeclared (first use this
function)
dsp_oddcast_xmms.cpp: In function `void oddcast_display_config()':
dsp_oddcast_xmms.cpp:102: error: `GTK_WINDOW_DIALOG' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:102: error: `gtk_window_new' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:103: error: `GTK_OBJECT' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:103: error: `gtk_object_set_data' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:104: error: `GTK_WINDOW' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:104: error: `gtk_window_set_title' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:106: error: `fixed1' undeclared (first use this function)
dsp_oddcast_xmms.cpp:106: error: `gtk_fixed_new' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:107: error: `gtk_widget_ref' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:108: error: `GtkDestroyNotify' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:108: error: parse error before `)' token
dsp_oddcast_xmms.cpp:109: error: `gtk_widget_show' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:110: error: `GTK_CONTAINER' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:110: error: `gtk_container_add' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:111: error: `gtk_widget_set_usize' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:114: error: `pipe_label' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:114: error: `gtk_label_new' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:116: error: parse error before `)' token
dsp_oddcast_xmms.cpp:118: error: `GTK_FIXED' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:118: error: `gtk_fixed_put' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:119: error: `gtk_widget_set_uposition' undeclared (first
use this function)
dsp_oddcast_xmms.cpp:121: error: `GTK_LABEL' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:121: error: `GTK_JUSTIFY_LEFT' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:121: error: `gtk_label_set_justify' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:122: error: `TRUE' undeclared (first use this function)
dsp_oddcast_xmms.cpp:122: error: `gtk_label_set_line_wrap' undeclared (first
use this function)
dsp_oddcast_xmms.cpp:124: error: `gtk_entry_new' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:126: error: parse error before `)' token
dsp_oddcast_xmms.cpp:131: error: `GTK_ENTRY' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:131: error: `gtk_entry_set_text' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:133: error: `save' undeclared (first use this function)
dsp_oddcast_xmms.cpp:133: error: `gtk_button_new_with_label' undeclared (first
use this function)
dsp_oddcast_xmms.cpp:135: error: parse error before `)' token
dsp_oddcast_xmms.cpp:142: error: `cancel' undeclared (first use this function)
dsp_oddcast_xmms.cpp:144: error: parse error before `)' token
dsp_oddcast_xmms.cpp:151: error: `GTK_SIGNAL_FUNC' undeclared (first use this
function)
dsp_oddcast_xmms.cpp:151: error: `gtk_signal_connect' undeclared (first use
this function)
dsp_oddcast_xmms.cpp: In function `void GetXMMSConfigVariable(char*, char*,
char*, int)':
dsp_oddcast_xmms.cpp:161: error: `gchar' undeclared (first use this function)
dsp_oddcast_xmms.cpp:161: error: `value' undeclared (first use this function)
dsp_oddcast_xmms.cpp:164: error: `xmms_cfg_read_string' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:171: error: `g_free' undeclared (first use this function)
dsp_oddcast_xmms.cpp: In function `void PutXMMSConfigVariable(char*, char*)':
dsp_oddcast_xmms.cpp:182: error: `xmms_cfg_write_default_file' undeclared
(first use this function)
dsp_oddcast_xmms.cpp: In function `char* getCurrentlyPlaying()':
dsp_oddcast_xmms.cpp:205: error: `gint' undeclared (first use this function)
dsp_oddcast_xmms.cpp:205: error: parse error before `,' token
dsp_oddcast_xmms.cpp:206: error: ISO C++ forbids declaration of `gchar' with no
type
dsp_oddcast_xmms.cpp:206: error: parse error before `*' token
dsp_oddcast_xmms.cpp:209: error: `xmms_remote_is_running' undeclared (first use
this function)
dsp_oddcast_xmms.cpp:210: error: `pos' undeclared (first use this function)
dsp_oddcast_xmms.cpp:210: error: `xmms_remote_get_playlist_pos' undeclared
(first use this function)
dsp_oddcast_xmms.cpp:211: error: `title' undeclared (first use this function)
dsp_oddcast_xmms.cpp:211: error: `xmms_remote_get_playlist_title' undeclared
(first use this function)
dsp_oddcast_xmms.cpp: At global scope:
dsp_oddcast_xmms.cpp:386: error: `gpointer' was not declared in this scope
dsp_oddcast_xmms.cpp:386: error: `data' was not declared in this scope
dsp_oddcast_xmms.cpp:386: error: parse error before `,' token
dsp_oddcast_xmms.cpp: In function `int oddcast_mod_samples(...)':
dsp_oddcast_xmms.cpp:394: error: `nch' undeclared (first use this function)
dsp_oddcast_xmms.cpp:395: error: `srate' undeclared (first use this function)
dsp_oddcast_xmms.cpp:396: error: `length' undeclared (first use this function)
dsp_oddcast_xmms.cpp:418: error: `data' undeclared (first use this function)
dsp_oddcast_xmms.cpp: At global scope:
dsp_oddcast_xmms.cpp:437: error: type specifier omitted for parameter `gint'
dsp_oddcast_xmms.cpp:437: error: parse error before `*' token
make[2]: *** [dsp_oddcast_xmms.lo] Fehler 1
make[2]: Leaving directory `/home/DJ-JP/Downloads/oddcast/oddcastv2_xmms-2.0.1/src/oddcastv2_xmms_effect'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/DJ-JP/Downloads/oddcast/oddcastv2_xmms-2.0.1/src'
make: *** [all-recursive] Fehler 1
linux:/home/DJ-JP/Downloads/oddcast/oddcastv2_xmms-2.0.1 #

Weiss jemand wie ich dieses Problem beheben kann?

Thomas Engelke
25.10.03, 20:49
Fehlt da u.U. ein xmms-Developer-Paket?

AD!

DJ-JP
25.10.03, 20:51
Die xmms-devel habe ich installiert. Was heisst denn EIN xmms-devel Paket? Gibt es mehrere?

thuri
28.10.03, 06:18
Bei mir ja fast das selbe, nach make kommt folgendes:



/usr//bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[4]: *** [oddcast_config] Fehler 1
make[4]: Leaving directory `/home/wolf/Download/oddcastv2_xmms-2.0.1/src/oddcast_config/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/wolf/Download/oddcastv2_xmms-2.0.1/src/oddcast_config/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/wolf/Download/oddcastv2_xmms-2.0.1/src/oddcast_config'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/wolf/Download/oddcastv2_xmms-2.0.1/src'
make: *** [all-recursive] Fehler 1

DJ-JP
28.10.03, 14:45
Ich habs! Ich hab beim compilieren den falschen xmms Pfad angegeben. Man muss einfach nur den Prefix xmms auf /usr setzen und dann funzts :D

@thuri bei dir fehlt irgend ein Paket. Musste mal genau schauen was er da verlangt wo dann "no" steht. Das musst du nachinstallieren und ebenfalls die -devel Pakete davon.