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

A message that is not in the archive (sent off-list or not yet received): x67hgkrp8v@gzp

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): x6mxpfn4n2@gzp

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

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.