R
Raman
Hi All,
I have two libs (libFirst.a and libSecond.a). Both libs contains a
common function func(). Now I want to link an application "app" with
these two libs as
gcc -o app libFirst.a libSecond.a app.c.
It gives( and it should ) multiple declaration error . Is there any
way to tell the linker which func() declaration it must select.
NOTE: app need to be linked two both these libs.
Thanks and regards,
Raman Chalotra.
I have two libs (libFirst.a and libSecond.a). Both libs contains a
common function func(). Now I want to link an application "app" with
these two libs as
gcc -o app libFirst.a libSecond.a app.c.
It gives( and it should ) multiple declaration error . Is there any
way to tell the linker which func() declaration it must select.
NOTE: app need to be linked two both these libs.
Thanks and regards,
Raman Chalotra.