Hallo
kann jemand für H-GFx kompilieren
würde gerne testen
hab gerade die libOscamH_T-GFS_T-GFP_build16 version drauf.
mfg
kriege diesen Fehler bei kompilieren am OSX
kann jemand für H-GFx kompilieren
würde gerne testen
hab gerade die libOscamH_T-GFS_T-GFP_build16 version drauf.
mfg
kriege diesen Fehler bei kompilieren am OSX
gcc -fPIC -O2 -std=gnu99 -Wall -ldl -DBUILD_GIT_SHA=\"6360fde\" -DLIB_NAME=\""dvbapi"\" -DLIB_VERSION=\""v0.4.1-4-g6360fde"\" -DLIB_TV_MODELS=\"""\" -c -o dvbapi.o dvbapi.c
clang: warning: -ldl: 'linker' input unused
dvbapi.c:426:23: warning: cast to 'uint32_t *' (aka 'unsigned int *') from
smaller integer type 'uint32_t' (aka 'unsigned int')
[-Wint-to-pointer-cast]
uint32_t *extra = (uint32_t*)aligned;
^
dvbapi.c:433:23: warning: cast to 'char *' from smaller integer type
'unsigned int' [-Wint-to-pointer-cast]
argv[i + 1] = (char *)(aligned + _argv);
^
dvbapi.c:451:19: warning: unused variable 'optstr' [-Wunused-variable]
char *argv[100],*optstr;
^
dvbapi.c:479:2: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
optstr = getOptArg(argv, argc, "OSCAM_SERVER_IP:");
^
dvbapi.c:479:21: error: use of undeclared identifier 'argv'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_IP:");
^
dvbapi.c:479:27: error: use of undeclared identifier 'argc'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_IP:");
^
dvbapi.c:480:2: error: expected identifier or '('
if(optstr) {
^
dvbapi.c:484:2: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
optstr = getOptArg(argv, argc, "OSCAM_SERVER_PORT:");
^
dvbapi.c:484:21: error: use of undeclared identifier 'argv'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_PORT:");
^
dvbapi.c:484:27: error: use of undeclared identifier 'argc'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_PORT:");
^
dvbapi.c:485:2: error: expected identifier or '('
if ( optstr ) {
^
dvbapi.c:489:2: error: expected identifier or '('
if ( oscam_server_ip != NULL || oscam_server_port != 0) {
^
dvbapi.c:498:4: error: expected identifier or '('
} else {
^
dvbapi.c:504:1: error: extraneous closing brace ('}')
}
^
5 warnings and 9 errors generated.
make: *** [dvbapi.o] Error 1
clang: warning: -ldl: 'linker' input unused
dvbapi.c:426:23: warning: cast to 'uint32_t *' (aka 'unsigned int *') from
smaller integer type 'uint32_t' (aka 'unsigned int')
[-Wint-to-pointer-cast]
uint32_t *extra = (uint32_t*)aligned;
^
dvbapi.c:433:23: warning: cast to 'char *' from smaller integer type
'unsigned int' [-Wint-to-pointer-cast]
argv[i + 1] = (char *)(aligned + _argv);
^
dvbapi.c:451:19: warning: unused variable 'optstr' [-Wunused-variable]
char *argv[100],*optstr;
^
dvbapi.c:479:2: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
optstr = getOptArg(argv, argc, "OSCAM_SERVER_IP:");
^
dvbapi.c:479:21: error: use of undeclared identifier 'argv'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_IP:");
^
dvbapi.c:479:27: error: use of undeclared identifier 'argc'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_IP:");
^
dvbapi.c:480:2: error: expected identifier or '('
if(optstr) {
^
dvbapi.c:484:2: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
optstr = getOptArg(argv, argc, "OSCAM_SERVER_PORT:");
^
dvbapi.c:484:21: error: use of undeclared identifier 'argv'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_PORT:");
^
dvbapi.c:484:27: error: use of undeclared identifier 'argc'
optstr = getOptArg(argv, argc, "OSCAM_SERVER_PORT:");
^
dvbapi.c:485:2: error: expected identifier or '('
if ( optstr ) {
^
dvbapi.c:489:2: error: expected identifier or '('
if ( oscam_server_ip != NULL || oscam_server_port != 0) {
^
dvbapi.c:498:4: error: expected identifier or '('
} else {
^
dvbapi.c:504:1: error: extraneous closing brace ('}')
}
^
5 warnings and 9 errors generated.
make: *** [dvbapi.o] Error 1
Zuletzt bearbeitet von einem Moderator: