LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 11-26-2009, 08:54 AM   #1
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Rep: Reputation: 22
Question Libnet


Hi users.
When i use make command for compile libnet show me error!
i use fedora core 10 and libnet-0.10.11
i copy linux.mak from makefiles directory to libnet directory and rename it to port.mak but
i enter make command,show me error! my port.mak file content:

# Portability makefile -- helper for other makefiles

# Linux version

TARGET = LINUX

LIBDEST = /usr/local/lib/$(LIBFILENAME)
INCDEST = /usr/local/include/$(INCNAME)
EXE_SUFFIX =
RM_F = rm -f
CP_F = cp -f

CC = gcc
WARNING_FLAGS = -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
LDLIBS = -lpthread
LINK_ALLEGRO = `allegro-config --libs`
ARFLAGS = rs

LIBNAME = net
LIBFILENAME = lib$(LIBNAME).a
INCNAME = libnet.h
LIBDIR = $(BASE)/lib
LIBSRC = $(LIBDIR)/$(LIBFILENAME)
INCDIR = $(BASE)/include
INCSRC = $(INCDIR)/$(INCNAME)

for complie libnet how work?
how find RPM version?
Please help me.
thanks
 
Old 11-27-2009, 07:47 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by jokar.mohsen View Post
Hi users.
When i use make command for compile libnet show me error!
Do you not think it would help to show us the error?
 
Old 11-27-2009, 01:39 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,325

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
The errors : shown in the duplicate thread , 22 - Nov
http://www.linuxquestions.org/questi.../libnet-770759

Libnet-0.10.11 : Last time edited year 2001.
' make CC=gcc-2.95 ' will create 'libnet.a'
Apparently the compiler is to be as old as the code.
The last surviving gcc-2.95 is in Debian 4 Etch.

Click my name, send an email, and I will attach
libnet-0.10.11-1.i386.rpm ( 143 kB ) to a return mail.
.. ..

May be you are lucky, and the lib can even be used for something.
.....

Last edited by knudfl; 11-27-2009 at 01:47 PM.
 
Old 11-27-2009, 04:09 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,200

Rep: Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821Reputation: 3821
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

--jeremy
 
  


Closed Thread

Tags
libnet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libnet jokar.mohsen Programming 4 11-27-2009 01:48 PM
help me with libnet programming adnap Programming 2 04-15-2007 04:01 AM
Error & warnings in installing Libnet-1.1.x & Libnet-config not found error. sakthivelbatusai Linux - Networking 0 03-15-2007 12:14 AM
libnet Mercurius Programming 1 06-17-2006 04:48 AM
Libnet gr33ndata Programming 2 10-14-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration