C (234/254)

From:Matthias Rustler
Date:30 Apr 00 at 18:58:25
Subject:vbcc and iff.library

Hi,

how can I use iff.library with vbcc?
I've tried to compile easyexample.c with:
vc easyexample.c -o easyexample -liff
The result was:

struct Library *IntuitionBase, *IFFBase;
warning 68 in line 34 of
"Work:compiler/vbcc/machines/amiga/EasyExample.c": redeclaration of
var <IntuitionBase> with new type
>{warning 121 in line 133 of
"Work:compiler/vbcc/machines/amiga/EasyExample.c": return type of
main
is not int
t_3_0.o: In "_DisplayILBM":
Error 21: t_3_0.o (CODE+0x26c): Undefined reference to _IFFL_CloseIFF.
Error 21: t_3_0.o (CODE+0x208): Undefined reference to
_IFFL_DecodePic.
Error 21: t_3_0.o (CODE+0x15c): Undefined reference to _IFFL_GetBMHD.
Error 21: t_3_0.o (CODE+0x1ce): Undefined reference to
_IFFL_GetColorTab.
Error 21: t_3_0.o (CODE+0x19c): Undefined reference
to_IFFL_GetViewModes.
t_3_0.o: In "_main":
Error 21: t_3_0.o (CODE+0x3ec): Undefined reference to _IFFL_IFFError.
t_3_0.o: In "_DisplayILBM":
Error 21: t_3_0.o (CODE+0x14a): Undefined reference to _IFFL_OpenIFF.
vlink fehlgeschlagen R�ckgabewert 20
vlink -s -x -dn vlibm68k:startup.o "T:t_3_0.o" -liff -lvc -lamiga
-o
easyexample failed

Bye, Matthias

------------------------------------------------------------------------
Was the salesman clueless? Productopia has the answers.
http://click.egroups.com/1/3019/1/_/451227/_/957117514/
------------------------------------------------------------------------