/usr/bin/gcc -lcrypt -lz -lbfd -liberty -lm -lmysqlclient -lnsl -L/usr/lib/mysql -I/usr/include/mysql/ -L/usr/lib/libbfd.a -o smaug
/usr/bin/gcc -lcrypt -lz -lbfd -liberty -lm -lmysqlclient -lnsl -L/usr/lib/mysql -I/usr/include/mysql/ -L/usr/lib/libbfd.a -o smaug
But it's not linking to the lib correctly and I'm not sure why.
I get:
In mud.h I have:
The link I have with gcc is:
-lbfd is correct right?
Any thoughts on why it's not finding the lib?