Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1097099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:22:49+00:00 2026-05-17T00:22:49+00:00

when i install libnet by sudo apt-get install libnet1, the program can not find

  • 0

when i install libnet by sudo apt-get install libnet1, the program can not find libnet.h and I also can not find it at /usr/local/include or /usr/include.
so i download the libnet and make it, but I get the errors

make -C lib/ lib
make[1]: Entering director `/home/liuqiang/workspace/libnet/lib'
gcc -O2 -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -I../include -Iinclude -DTARGET_LINUX   -c -o core/config.o core/config.c
cc1: warnings being treated as errors
core/config.c: In function ‘__libnet_internal__seek_section’:
core/config.c:87: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
core/config.c: In function ‘__libnet_internal__get_setting’:
core/config.c:111: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
make[1]: *** [core/config.o] error 1
make[1]:Leaving directory `/home/liuqiang/workspace/libnet/lib'
make: *** [lib] error 2
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:22:50+00:00Added an answer on May 17, 2026 at 12:22 am

    It’s always the same: you need the libfoo-dev package to build against source code from library foo as the libfoo package merely ensures you can run the code.

    So here for libnet1: run apt-get install libnet1-dev and you should be good to roll along.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I install ruby via rbenv-installer . When I use irb console, I can use
I install plugin open_id_authentication and have this error: /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to
so I tried to install the android development tools but then I get this
Can install python plugin in netbeans 6.7 manually (without Tools/Plugin) ? if yes (with
How can I install packages that are in archive, in Windows ? http://cran.r-project.org/src/contrib/Archive/ When
install leiningen by download the script and follow the github instruction. On a Ubuntu/Linux
i install phpmyadmin on my ubuntu 10.4 but its can't login this is the
i install JDK in C:\Program Files\Java\jdk1.6.0_24 and set the variables as follow: JAVA_HOME :
gem install rubyoverflow irb > require 'rubyoverflow' => true But: require 'rubyoverflow' include Rubyoverflow
What install tool can I use to create Virtual Directory on IIS? OpenSource, free

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.