Gentoo Archives: gentoo-dev

From: "Hanno Böck" <hanno@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] QA question, undefined reference to _getshort
Date: Wed, 17 Oct 2007 09:11:11
Message-Id: 200710171052.48862.hanno@gentoo.org
1 Hi,
2
3 I'm currently working on ebuilds for openvas (free successor of nessus). Now
4 something nags me, I get a QA warning I'm not able to fix:
5
6 net-analyzer:openvas-libraries-1.0.0:20071013-001835.log- * hg_dns_axfr.c:85:
7 warning: implicit declaration of function '_getshort'
8
9 The function _getshort is part of glibc, but it's nowhere referenced in the
10 headers. It probably should be in resolv.h.
11
12 glibc-source contains two copies of resolv.h, but the one that get's installed
13 is missing that reference.
14
15 Is this a glibc-bug? Or is this an internal function that shouldn't be used?
16 What's the proper fix for that?
17
18 For the reference, my openvas-ebuilds (very similar to the nessus ones):
19 svn co https://svn.hboeck.de/overlay/net-analyzer/
20
21
22 --
23 Hanno Böck Blog: http://www.hboeck.de/
24 GPG: 3DBD3B20 Jabber: hanno@××××××.de

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies