I am compiling a C program and then trying to link it with the command:
gcc -g url.cc url.o -lm -L/usr/lib/mysql -lmysqlclient
Once I enter the above command, I get an error that looks like
url.o(.text+0x0): multiple definition of `PrintHTMLHeader(void)'
where url.o is my object file ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.