Hallo isdn Spezis,
Ich will als Anfänger (etwas eigearbeitet) in C eine capi Anwendung realisieren. Module sind fertig. Ich will sie mit minGW+Visual minGW compilieren und linken. Module sind compiliert. Bein Linken bekomme ich die Fehlermeldung:
Building makefile...
Make clean...
unlink .\AMULAW.o
unlink .\ISDNREC.o
unlink .\TIMER.o
Building all...
gcc -I. -g -W -Wall -c .\AMULAW.C -o .\AMULAW.o
gcc -I. -g -W -Wall -c .\ISDNREC.C -o .\ISDNREC.o
In file included from .\ISDNREC.C:26:
.\capi2032.h:14:1: warning: "STRICT" redefined
In file included from D:/Baba/Devel/minGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:48,
from .\ISDNREC.C:15:
D:/Baba/Devel/minGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windef.h:212:1: warning: this is the location of the previous definition
gcc -I. -g -W -Wall -c .\TIMER.C -o .\TIMER.o
gcc -g -L. ./AMULAW.o ./ISDNREC.o ./TIMER.o -o ./isdnrec.exe -lcapi2032
./capi2032.lib: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Errors:[Code:1]
Die Fehlermeldung beim Linken
"capi2032.lib: file not recognized: File format not recognized"
verweist irgendwie auf falsche Angabe.
Diesbezüglich habe ich noch folgendes gefunden:
http://entwickler-forum.de/showthread.php?t=6669
Kann jemand etwas dazu sagen oder vllt. ein hinweis geben, wo ich noch an Infos kommen kann.