Code: Alles auswählen
powerpc-tuxbox-linux-gnu-gcc -mcpu=405 -msoft-float -mmultiple -mstring -meabi -pipe -Os -ggdb3 -DHAVE_DREAMBOX_HARDWARE -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=1 -DELF_MACHINE_H='"elf_ppc.h"' -DARCH_ppc -c -o logger.o logger.c
In file included from logger.c:30:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
powerpc-tuxbox-linux-gnu-gcc -mcpu=405 -msoft-float -mmultiple -mstring -meabi -pipe -Os -ggdb3 -DHAVE_DREAMBOX_HARDWARE -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=1 -DELF_MACHINE_H='"elf_ppc.h"' -DARCH_ppc -c -o modstat.o modstat.c
In file included from modstat.c:33:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
modstat.c: In function `new_get_kernel_info':
modstat.c:203: error: label at end of compound statement
make[2]: *** [modstat.o] Error 1
make[2]: Leaving directory `/home/per/develop/dreambox/tuxbox-cvs/cdk/modutils-2.4.21/util'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/per/develop/dreambox/tuxbox-cvs/cdk/modutils-2.4.21'
make: *** [.modutils] Error 2
Code: Alles auswählen
if (type & K_SYMBOLS) { /* Want info about symbols */
syms = xmalloc(bufsize = 1024);
while (query_module(mn, QM_SYMBOLS, syms, bufsize, &ret)) {
if (errno == ENOSPC) {
syms = xrealloc(syms, bufsize = ret);
continue;
}
if (errno == ENOENT) {
/*
* The module was removed out
* from underneath us.
*/
m->flags = NEW_MOD_DELETED;
free(syms);
goto next;
} else {
error("module %s: QM_SYMBOLS: %m", mn);
return 0;
}
}
nsyms = ret;
m->nsyms = nsyms;
m->syms = syms;
/* Convert string offsets to string pointers */
for (j = 0, s = syms; j < nsyms; ++j, ++s)
s->name += (unsigned long) syms;
}
next: /* <<<=== This is line 203 */