-
error
can someone give me a general idea of what this error means? thank you
Code:
Undefined first referenced
symbol in file
/var/tmp//asdfsadlj.oslf
function name(float)
ld:fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
-
It means you called a function with the name "name" and a single float parameter, but the linker cannot find a definition for that function. If you did define the function, then you need to add the source file to the files being compiled and linked. If that is done, make sure the function name, parameters and return type match up between declaration and definition.