Hello, I have this problem. I have to create my own malloc file. I have made a header<.H file> that holds the function names of all my functions. I am calling this malloc from another file.
I cannot compile that malloc file alone, because malloc requires data such sizeof etc....
But when I am compiling my program (other than malloc). I get this error.
What would be the way around this?Code:Undefined first referenced symbol in file my_malloc /var/tmp//ccKI1S6Y.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status



LinkBack URL
About LinkBacks



