Opened 6 years ago

Closed 5 years ago

#499 closed defect (fixed)

dnet.h should be changed to dumbnet.h for compilation under Backtrack5

Reported by: hardik05 Owned by: aturner
Priority: medium Milestone: 3.5.0
Component: tcpreplay Version: 3.4.4
Keywords: Cc:
Operating System: Linux Add to FAQ?: yes
Hardware: All
Output of tcpreplay -V:


TcpReplay? does not compile under backtrack5. it seems that backtrack uses latest version of dnet and therefor we need to change include file dnet.h to dumbnet.h and it will work.

Change History (7)

comment:1 Changed 6 years ago by aturner

emailed libdumbnet maintainer to understand what is going on and why dnet.h was renamed.

comment:2 Changed 5 years ago by aturner

Basically, Debian broke shit:

Correct. That choice has been made long before I became distro maintainer
of libdumbnet. The reasoning was that there already was another libdnet
(something DECnet-related, I don't recall exactly), so one of the
libraries had to switch names to avoid the clash.

Long story short, the DECnet-related libdnet was earlier in the Debian
archive, and (regardless of user base, dependent packages etc.) it was
decided to rename your library (and to manually modify all packages in
the distro which depend on it).

So: If you want to compile against libd(umb)net on Debian-derived distros,
you'll have to modify your #include and -l options.

comment:3 Changed 5 years ago by aturner

  • Milestone changed from Future Release to 3.4.5
  • Status changed from new to assigned

comment:4 Changed 5 years ago by aturner

(In [2569]) detect libdnet header as dumbnet.h on Debian based
distros (Unbuntu, Backtrack, etc) refs #499

also includes updated autoheader/conf files, hence
the extra changes

comment:5 Changed 5 years ago by aturner

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2570]) manual merge dnet/dumbnet fix from r2569 to trunk
fixes #499

comment:6 Changed 5 years ago by aturner

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 5 years ago by aturner

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [2577]) need to work around non-standard dnet.h locations. fixes #499

Note: See TracTickets for help on using tickets.