Re: libifconfig_sfp.h does not compile for me

From: Kristof Provost <kristof_at_sigsegv.be>
Date: Thu, 11 Mar 2021 10:08:44 +0100
On 11 Mar 2021, at 9:51, Ronald Klop wrote:
> Hi,
>
> This 
> https://cgit.freebsd.org/src/tree/lib/libifconfig/libifconfig_sfp.h 
> includes libifconfig_sfp_tables.h which does not exist.
>
> My build fails on this. I cleaned /lib/libifconfig and /sbin/ifconfig, 
> but no succes.
> The last change in these files is a few days ago, am I the only one 
> with this problem?
>
How are you building?

libifconfig_sfp_tables.h is a generated file, and the build should have 
created it.

It does for me:

	/usr/libexec/flua /usr/src/lib/libifconfig/sfp.lua 
/usr/src/lib/libifconfig/libifconfig_sfp_tables.tpl.h 
 >libifconfig_sfp_tables.h
	/usr/libexec/flua /usr/src/lib/libifconfig/sfp.lua 
/usr/src/lib/libifconfig/libifconfig_sfp_tables.tpl.c 
 >libifconfig_sfp_tables.c
	/usr/libexec/flua /usr/src/lib/libifconfig/sfp.lua 
/usr/src/lib/libifconfig/libifconfig_sfp_tables_internal.tpl.h 
 >libifconfig_sfp_tables_internal.h

Although I do not understand the magical incantations in the makefile 
that make it do so I can see that they’re there and that they do 
what’s required.

Regards,
Kristof
Received on Thu Mar 11 2021 - 08:08:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC