Hello!
I am trying to install VBCC and compile some piece of code, just some examples in C language.
First of all I downloaded the 3.9 NDk from Haage&Partner and saved the NDK_3.9 drawer in my Work: HD partition.
Accordingly with the instructions of the site
http://sun.hasenbraten.de/vbcc/index.php?view=targetsI downloaded the files vbcc_bin_amigaos68k.lha and vbcc_target_m68k-amigaos.lha that are respectively the binary and the target file.
Installed firstly the bin and after the target over my Work: partition I was asked to tell the installer the path of the include files so I selected the drawer Work:NDK_3.9/include/include_h
as suggested here in the thread
http://www.amiga.org/forums/showthread.php?t=34765Now it happens that if I try to compile a source like for example the 1st example of screen or window of the file
http://aminet.net/package/dev/c/ACMwith the command
vc screen.c -o screen
I have a huge list of errors like showed above....
t_3_0.o: In "_main":
Error 21: t_3_0.o (CODE+0x8): Reference to undefined symbol _OpenLibrary.
t_3_0.o: In "l5":
Error 21: t_3_0.o (CODE+0x24): Reference to undefined symbol _OpenScreen.
t_3_0.o: In "l6":
Error 21: t_3_0.o (CODE+0x3a): Reference to undefined symbol _CloseLibrary.
t_3_0.o: In "l7":
Error 21: t_3_0.o (CODE+0x64): Reference to undefined symbol _CloseLibrary.
Error 21: t_3_0.o (CODE+0x4c): Reference to undefined symbol _Delay.
Error 21: t_3_0.o (CODE+0x58): Reference to undefined symbol _CloseScreen.
vlink failed returncode 20
vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib vlibos3:startup.o "T:t_3_0.o" -s -Rshort -Lvlibos3: -lvc -o screen failed
What do you think I should do to get the compiler doing his job correctly?
Thanks for your advice,
Daniele