das macht mich noch verrückt
Ich habe in meine Helper.c eine neue Funktion OSDFade eingebaut.
Jetzt wird auch alles schön einzeln zu o-Files compiliert aber beim Zusammenführen kommt dann:
Code: Alles auswählen
filer.o: In function `Dir_Hide':
filer.c(.text+0x5f94): undefined reference to `OSDFade'
filer.o: In function `Dir_Init':
filer.c(.text+0x6454): undefined reference to `OSDFade'Helper.h:
Code: Alles auswählen
void OSDFaid( word Region, bool InOut, int Speed );Code: Alles auswählen
void OSDFaid( word Region, bool InOut, int Speed ) {
int Counter;
if (InOut) {
for (Counter = 0; Counter <= 0xFF - TAP_GetSystemVar(SYSVAR_OsdAlpha); Counter+=Speed) {
TAP_Osd_SetTransparency(Region, Counter);
TAP_Delay(3);
}
TAP_Osd_SetTransparency(Region, 0xFF - TAP_GetSystemVar(SYSVAR_OsdAlpha));
} else {
for (Counter = 0xFF - TAP_GetSystemVar(SYSVAR_OsdAlpha); Counter >= 0; Counter-=Speed) {
TAP_Osd_SetTransparency(Region, Counter);
TAP_Delay(3);
}
TAP_Osd_SetTransparency(Region, 0);
}
}
Code: Alles auswählen
#include "Helper.h"
...
OSDFade(FilerRgn, FALSE, 20);
Hat jemand ne Idee warum das nicht klappt? Bzw. benötigt ihr noch mehr Infos?
Danke schonmal!!!


