libifconfig_sfp.h does not compile for me

Kristof Provost kristof at sigsegv.be
Thu Mar 11 09:08:53 UTC 2021


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


More information about the freebsd-current mailing list