What do this mean?

what does this error normally mean:


/tmp/ccGtzp0M.o(.text+0x120): In function `main':
: undefined reference to `stack<int>::stack()'
collect2: ld returned 1 exit status
It means you implemented your stack<> template inside a .cpp instead of inside the header file.
Topic archived. No new replies allowed.