This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

fopen error in uvision3

Hi all

when I run the below program i am getting the error
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL

could any suggest me how to remove the error?

looking for your help
t.senthil

#include <ARTX.h>
#include <stdio.h>
void tst_fopen();

void main()
{
tst_fopen();
}

void tst_fopen (void) {
   FILE *fin;

   fin = fopen ("Test.txt","r");
   if (fin == NULL) {
      printf ("File not found!\n");
   }
   else {
      // process file content
      fclose (fin);
   }
}

Parents
  • "Do you have this product?""

    yes I am having the ARTX.h ARTX_Config.c and ARTX_Config.h files... .I have an updated version of uvision3 too....


    Tool Version Numbers:
    Toolchain Path: C:\Keilarmnew\ARM\BIN\
    C Compiler: CA.Exe V2.42
    Assembler: AA.Exe V2.40b
    Linker/Locator: LA.Exe V2.42
    Librarian: LIBA.Exe V4.26
    Hex Converter: OHA.Exe V2.10
    CPU DLL: SARM.DLL V1.29
    Dialog DLL: DARMP.DLL V1.10c
    Target DLL: BIN\UL2ARM.DLL V1.14a
    Dialog DLL: TARMP.DLL V1.10


    "Even if you do have the product, the Linker is telling you that you haven't included it in your project"

    Even after including ARTX_config.c file in my project I am getting the same error!

    Do I need to change anything in ARTX_config file?

    t.senthil

Reply
  • "Do you have this product?""

    yes I am having the ARTX.h ARTX_Config.c and ARTX_Config.h files... .I have an updated version of uvision3 too....


    Tool Version Numbers:
    Toolchain Path: C:\Keilarmnew\ARM\BIN\
    C Compiler: CA.Exe V2.42
    Assembler: AA.Exe V2.40b
    Linker/Locator: LA.Exe V2.42
    Librarian: LIBA.Exe V4.26
    Hex Converter: OHA.Exe V2.10
    CPU DLL: SARM.DLL V1.29
    Dialog DLL: DARMP.DLL V1.10c
    Target DLL: BIN\UL2ARM.DLL V1.14a
    Dialog DLL: TARMP.DLL V1.10


    "Even if you do have the product, the Linker is telling you that you haven't included it in your project"

    Even after including ARTX_config.c file in my project I am getting the same error!

    Do I need to change anything in ARTX_config file?

    t.senthil

Children