Skip to contentSkip to conversation

linking cpufrequtils against libcpufreq.a

DISCUSSION Gabor Z. Papp 1 participant 1 message Nov 11, 2010 4 messages not in the archive

lore
Share & tools
lore
#4 lore raw
In reply to a message not in the archive

lo lo,

I would like to link cpufreq utils against static libcpufreq.a

I have tried extracting libcpufreq.a from libcpufreq.so.0.0.0 with the command "ar -cvq libcpufreq.a libcpufreq.so.0.0.0", and linked the binaries against the lib, but the .a archive have reference for libcpufreq.so and the produced binaries show dependency against libcpufreq.so.

Someone could help how could I fix this problem (instead of asking why I would like to link against static lib :-)

Thanks.