I try it with : ./configure --enable-dynamic-linking CFLAGS=-D_HPUX_SOURCE but the result is the same. The same error occure again. Uwe Balazs Scheidler <bazsi@balabit.hu> 1. Aug. 2007 11:37 Gesendet von: syslog-ng-bounces@lists.balabit.hu 01.08.2007 11:35 Bitte antworten an Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> |--+---------------> | | | |--+--------------->
--------------------------------------------------------------------------------------------------------------------------------------------------| | | | | | An| | Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> | | Kopie| | | | Thema| | Re: [syslog-ng] syslog-ng-2.0.5 on HP-UX 11.11 | | | | | | | | | | | --------------------------------------------------------------------------------------------------------------------------------------------------|
On Mon, 2007-07-30 at 16:53 +0200, Uwe Martin wrote:
Hello,
I try to compile the new version 2.0.5 on HP-UX 11.11. configure is running without erorrs. (./configure --enable-dynamic-linking)
make stops with the following error :
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -DLIBNET_BIG_ENDIAN -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -g -MT afinet.o -MD -MP -MF ".deps/afinet.Tpo" \ -c -o afinet.o `test -f 'afinet.c' || echo './'`afinet.c; \ then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \ else rm -f ".deps/afinet.Tpo"; exit 1; \ fi afinet.c: In function 'afinet_setup_socket': afinet.c:163: error: storage size of 'mreq' isn't known afinet.c:163: warning: unused variable 'mreq' *** Error exit code 1
How can I solve this problem ?
Hmm... struct ip_mreq is defined in <netinet/in.h> on HP-UX, and that file is included by afinet.c Can you check if adding _HPUX_SOURCE define to your CFLAGS fixes the problem? You can accomplish this by rerunning configure like this: ./configure CFLAGS=-D_HPUX_SOURCE and then run make again. -- Bazsi _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html Festo AG & Co. KG Uwe Martin Abteilung IN-O Network-Operation Obere Kaiserstraße 303 D - 66386 St. Ingbert Tel: ++49 (0) 6894-591-6323 Fax: ++49 (0) 6894-591-6326 http://www.festo.com Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen. This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender. Rechtsform: Kommanditgesellschaft Sitz: Esslingen a.N. Registergericht Stuttgart HRA 211583 Umsatzsteuerident-Nummer: DE 145339206 Persoenlich haftende Gesellschafterin:Festo Aktiengesellschaft Sitz: Stuttgart Registergericht Stuttgart HRB 18535 Vorstand: Dr. Ekkehard Gericke, Lothar Kempf, Dipl.-Ing. Rudi Menrad Dr. Thomas Rubbe Dr. Eberhard Veit (Sprecher) Dr. Ulrich Walker Aufsichtsratsvorsitzender: Dr. Wilfried Stoll