[syslinux] ethersel.c32 issues
H. Peter Anvin
hpa at zytor.com
Mon Feb 28 08:45:31 PST 2005
Alexander Heinz wrote:
>
> I have added this line:
>
> fprint ("pci cfg type is %u\n", __pci_cfg_type);
>
> and make complains:
>
> `__pci_cfg_type' undeclared (first use in this function)
>
> So I am sure that I have made a mistake (as my knowledge of C is
> negligible).
>
You have to declare it explicitly; "extern int __pci_cfg_type;" should
work, although it's technically an enum.
> So what exactly do you want me to do?
The best would be if you could give me access to some hardware which has
the problem. This remote debugging is getting a bit painful :-/
-hpa
More information about the Syslinux
mailing list