I have made a code and when I compile it I recieve the error saying

"/tmp/cc9UNQMJ.o:in function bulbasaur:
pokemon.c(.text+0x1074):undefined refrence to print
collect2:ld returned 1 exit status"

anyone have any idea what this could mean?
(i will place full code after work)

Recommended Answers

All 2 Replies

It means print either doesn't exist entirely or doesn't have a definition. Presumably it's a function, which means you probably declared it but didn't define it.

commented: that was the answer +2

I just found it. i had a typo and it didnt give me the line =/ weird

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.