| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
#include <sys/cdefs.h> __BEGIN_DECLS #include ... // C header files to be used from C++ code __END_DECLS Your problem is that you are using external references intended for use in C code in C++ code. You can file a bug about this, but I believe that the netfulter APIs were never intended for use from C++. You will also need to ensure any callbacks you register are declared as "C functions exported by a C++ object file". Typically, people attempting to mix BSD and IOKit models write their BSD code in C and their IOKit code in C++, put them in different compilation units, and link them together to get their KEXT. -- Terry
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| References: | |
| >unresolved symbols (From: "Doug John" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.