• multiple public definition error
    i am getting multiple public definition error. can anyone help me with this. driver.c #include<reg51.h> #include"header.h" sbit RS=P0^4; sbit RW=P0^5; sbit E=P0^6; void lcd_cmd(u8 cmd) { P0=cmd;...
  • Error L104 Multiple public definitions
    I have splitted a C file in to parts and compiled it and it is compiling and I am receiving error message while linking and NO error if compiled as a single file. Help required. Thanks in advance...
  • *** ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    I have Declared all my declaration in one file called ADeclaration.h and included this file in all my module C files. i.e. i have MAIN.c (MAIN) Port_IO.c (PORT_IO) STORAGE.c (STORAGE)...
  • ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    I am two C files in a project. 1. main.c 2. rtc.c and third one is header file for both in which all prototypes are defined. I want to use a bit variables named aon and aoff in both files. Now...
  • MULTIPLE PUBLIC DEFINITIONS
    I define a variable unsigned char c in a file A.h and include it in A.c and another file B.c in which the variable is being used. Then I face a linker error of multiple public definitions. PS: The variable...