[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add struct ip_mreqn in the glue headers
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Add struct ip_mreqn in the glue headers |
Date: |
Thu, 8 Sep 2022 08:08:08 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Flavio Cruz, le mer. 07 sept. 2022 22:58:53 -0400, a ecrit:
> When I compile from master, I get the following error:
>
> gcc -std=gnu99 -fgnu89-inline -Wall -g -O3 -fno-strict-aliasing -g -O2
> -fno-strict-aliasing -I. -I.. -I../include -I../include -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPACKAGE_NAME=\"GNU\ Hurd\"
> -DPACKAGE_TARNAME=\"hurd\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"GNU\
> Hurd\ 0.9\" -DPACKAGE_BUGREPORT=\"bug-hurd@gnu.org\"
> -DPACKAGE_URL=\"http://www.gnu.org/software/hurd/\" -DHAVE_MIG_RETCODE=1
> -DHAVE_FILE_EXEC_PATHS=1 -DHAVE_EXEC_EXEC_PATHS=1 -DHAVE__HURD_EXEC_PATHS=1
> -DUTIME_NOW=-1 -DUTIME_OMIT=-2 -DHAVE_LIBCRYPT=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_PARTED_PARTED_H=1 -DHAVE_LIBPARTED=1
> -DHAVE_LIBUUID=1 -DHAVE_LIBDL=1 -DYYTEXT_POINTER=1 -DX11_PREFIX=\"\"
> -DHAVE_STRUCT_THREAD_SCHED_INFO_LAST_PROCESSOR=1 -imacros ./config.h
> -I./glue-include -I./linux-src/include -c -o devinet.o
> ./linux-src/net/ipv4/devinet.c
> In file included from ./linux-src/net/ipv4/devinet.c:49:
> ./linux-src/include/linux/igmp.h:88:19: error: field 'multi' has incomplete
> type
> 88 | struct ip_mreqn multi;
> | ^~~~~
> <builtin>: recipe for target 'devinet.o' failed
>
> This adds the definition to the glue header file.
We removed it from there because it was added in glibc master, and in
debian's libc0.3-dev (>= 2.34-4).
Samuel