Comment 1 for bug 2060871

Revision history for this message
Steve Langasek (vorlon) wrote :

what may not be obvious here is that the idl in camlidl stands for "interface definition language", meaning all of these functions are probably being generated at build time.

Also, we shouldn't remove the source package due to an armhf-specific build failure.

Anyway, the prototype from the generated pcap_stubs.c file is:

void camlidl_ml2c_pcap_pcap_handle(value _v1, pcap_handle * _c2, camlidl_ctx _ctx)

so we can just fix the build failure by copying this prototype over.

(Unfortunately, even though camlidl generates a pcap.h header file, it doesn't include this particular protoype. No idea why.)