Új hozzászólás Aktív témák

  • buherton

    őstag

    Kezd nagyon felidegesíteni az Eclipse. A fordítás rendben lemegy. A problémák a linkelésnél jönnek elő. Hogyan lehet az olyan problémákat kiküszöbölni mint pl:

    ./ex_task4.o:(.data+0x2): multiple definition of `__heap_start'
    ./ex_init4.o:(.data+0x2): first defined here

    $ grep -R __heap_start
    noscfg.h: * ::__heap_start and ::__heap_end must be provided and initialized
    noscfg.h:extern void *__heap_start;
    inc/pos_nano.h: * it is required to set the variables ::__heap_start and
    Binary file Release/ex_init4.o matches
    Release/PicoOS_task1.map: 0x000000000080006b __heap_start
    Release/PicoOS_task1.map: 0x000000000080465b PROVIDE (__heap_start, .)
    Binary file Release/ex_task4.o matches
    Binary file Release/src/nano/n_mem.o matches
    ex_init4.c:void *__heap_start = (void*) &membuf_g[0];
    src/nano/n_mem.c: freeBlockList_g = (BLOCK_t)(void*)MEM_ALIGN((MEMPTR_t)(__heap_start));

    ??? :F

Új hozzászólás Aktív témák

Hirdetés