ASN lookup patch for MTR
Bug #701514 reported by
rew
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mtr |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Found this on the internet, could you please include it in a next release of
MTR?
http://
With kind regards,
Michiel Klaver
Changed in mtr: | |
status: | New → Fix Committed |
Changed in mtr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
That would be a nice feature. Anybody got that patch working?
I got some errors on the first try:
/usr/src/ mtr-0.80- asnpatch# make mtr-0.80- asnpatch' mtr-0.80- asnpatch/ img' mtr-0.80- asnpatch/ img' mtr-0.80- asnpatch' include/ glib-2. 0 -I/usr/ lib/glib- 2.0/include -g -O2 -Wall -Wno-pointer-sign -MT mtr.o -MD -MP -MF ".deps/mtr.Tpo" -c -o mtr.o mtr.c; \ mtr-0.80- asnpatch' mtr-0.80- asnpatch'
make all-recursive
make[1]: Betrete Verzeichnis '/usr/src/
Making all in img
make[2]: Betrete Verzeichnis '/usr/src/
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/usr/src/
make[2]: Betrete Verzeichnis '/usr/src/
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/
then mv -f ".deps/mtr.Tpo" ".deps/mtr.Po"; else rm -f ".deps/mtr.Tpo"; exit 1; fi
In file included from mtr.c:37:
asn.h:19:18: error: glib.h: Datei oder Verzeichnis nicht gefunden
In file included from mtr.c:37:
asn.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[2]: *** [mtr.o] Fehler 1
make[2]: Verlasse Verzeichnis '/usr/src/
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/usr/src/
make: *** [all] Fehler 2
After an "apt-get install libglib2.0-dev" it compiled without problems, but the feature does not work.