Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Need help for compiling code

indrtiyaindrtiya Member Posts: 2
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



Comments

  • Andre YoungAndre Young USAMember Posts: 0

    __ ( http://forcoder.org ) free ebooks and video tutorials about || Assembly Swift Go Delphi Scratch Visual Basic JavaScript C Objective-C R PL/SQL Visual Basic .NET Python Java MATLAB Ruby PHP Perl C# C++ LabVIEW Dart Clojure Rust Fortran FoxPro Logo Julia D Prolog Crystal ABAP Alice Lisp Transact-SQL Awk Bash VBScript Scala Erlang Lua Kotlin Hack F# ML COBOL SAS Ada Scheme Apex || _

Sign In or Register to comment.