Quantcast
Viewing all articles
Browse latest Browse all 152

Need help for compiling code

Dear Friends,

I got this source code in C and ASM which is compiled with Borland C/C++ 5.0 compiler and Turbo Assembler Version 4.1. The linker is CSi-Link embedded application linker, version 2.12.

I downloaded the Assembler from a link that I got through this messageboard. I downloaded the free 5.5 version of Borland's C++ compiler, but got some errors in compilation -

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
m50.c:
Warning W8004 main_code.c 1583: 'i' is assigned a value that is never used in function Calibrate2
Error E2141 main_code.c 3268: Declaration syntax error
Error E2141 main_code.c 3269: Declaration syntax error
Error E2141 main_code.c 3270: Declaration syntax error
Error E2141 main_code.c 3271: Declaration syntax error
Error E2141 main_code.c 3273: Declaration syntax error
Error E2141 main_code.c 3274: Declaration syntax error
Error E2141 main_code.c 3275: Declaration syntax error
Error E2141 main_code.c 3276: Declaration syntax error
*** 8 errors in Compile ***

The respective lines in main_code.c are

extern char far *all_text_far[];
extern char far *fall_text_far[];
extern char far *gall_text_far[];
extern char far *sall_text_far[];
extern char far *token_far[];
extern char far *ftoken_far[];
extern char far *gtoken_far[];
extern char far *stoken_far[];


Can anyone please explain me the reason behind this? Is Borland C/C++ 5.0 a must for compiling this code? If yes, can anyone help me in getting a copy? Also, is CSi-Link available with anyone?

Waiting for your reply,
Thanks a tonne!
indrtiya




Viewing all articles
Browse latest Browse all 152

Trending Articles