Re: [Powertop] compile error

u know gascogne <atlrudeboi1 at gmail.com>
Newsgroups dev.linux.lists.powertop
Message-ID <CALRnzVVcCjdbULfw-3w8tXnkLy9TgSOfuOwBbgiOBokGoN9wqA@mail.gmail.com>
> I am unable to compile powertop I have all the dependencies and the
> autogen and configure complete sussesfulyl however during make i get:
>
> /powertop-extech.o powertop-main.o  -L/usr/local/lib -lpci -lnl -lz
> ../pevent/.libs/libparseevent.a -lpthread -lncurses
> /usr/local/lib/libpci.a(names-net.o): In function `pci_id_net_lookup':
> names-net.c:(.text+0x125): undefined reference to `__res_query'
> collect2: ld returned 1 exit status
> make[3]: *** [powertop] Error 1
> make[3]: Leaving directory `/home/aaron/Downloads/powertop-2.0/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/aaron/Downloads/powertop-2.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/aaron/Downloads/powertop-2.0'
> make: *** [all] Error 2
>
> I have pcitutils version 3.19 installed and have verified that libpci-a is
> present i am on 3.4rc kernel on ubuntu 12.04
>
attachment.html (text/html, 1.2 KB)
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am unable to compile powertop I have all the dependencies and the autogen and configure complete sussesfulyl however during make i get:<div>

<br></div><div><div>/powertop-extech.o powertop-main.o  -L/usr/local/lib -lpci -lnl -lz ../pevent/.libs/libparseevent.a -lpthread -lncurses</div>
<div>/usr/local/lib/libpci.a(names-net.o): In function `pci_id_net_lookup&#39;:</div><div>names-net.c:(.text+0x125): undefined reference to `__res_query&#39;</div><div>collect2: ld returned 1 exit status</div><div>make[3]: *** [powertop] Error 1</div>


<div>make[3]: Leaving directory `/home/aaron/Downloads/powertop-2.0/src&#39;</div><div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory `/home/aaron/Downloads/powertop-2.0/src&#39;</div><div>make[1]: *** [all-recursive] Error 1</div>


<div>make[1]: Leaving directory `/home/aaron/Downloads/powertop-2.0&#39;</div><div>make: *** [all] Error 2</div></div><div><br></div><div>I have pcitutils version 3.19 installed and have verified that libpci-a is present i am on 3.4rc kernel on ubuntu 12.04 </div>


</blockquote></div><br>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.