Skip to content

Instantly share code, notes, and snippets.

@logie17
Created September 28, 2012 22:54
Show Gist options
  • Save logie17/3802495 to your computer and use it in GitHub Desktop.
Save logie17/3802495 to your computer and use it in GitHub Desktop.
Build Errors
make: Nothing to be done for `tests'.
cc -I../core -Ixs -I. -Iautogen/include -I/Users/loganbell/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level/CORE -std=gnu99 -D_GNU_SOURCE -fvisibility=hidden -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -o ../core/Clownfish/ByteBuf.o ../core/Clownfish/ByteBuf.c
In file included from ../core/Clownfish/ByteBuf.c:27:
In file included from autogen/include/Clownfish/VTable.h:36:
autogen/include/parcel.h:183:5: error: use of undeclared identifier 'lucy_VTable'
cfish_VTable **parent_ptr
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
autogen/include/parcel.h:183:20: error: use of undeclared identifier 'parent_ptr'
cfish_VTable **parent_ptr
^
autogen/include/parcel.h:184:12: error: use of undeclared identifier 'lucy_VTable'
= (cfish_VTable**)(vt_as_char + cfish_VTable_offset_of_parent);
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
autogen/include/parcel.h:184:26: error: expected expression
= (cfish_VTable**)(vt_as_char + cfish_VTable_offset_of_parent);
^
autogen/include/parcel.h:185:26: error: use of undeclared identifier 'parent_ptr'
return cfish_method(*parent_ptr, offset);
^
In file included from ../core/Clownfish/ByteBuf.c:27:
In file included from autogen/include/Clownfish/VTable.h:41:
autogen/include/Clownfish/Obj.h:371:19: error: unknown type name 'lucy_VTable'
extern CHY_EXPORT cfish_VTable *CLOWNFISH_OBJ;
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
In file included from ../core/Clownfish/ByteBuf.c:27:
In file included from autogen/include/Clownfish/VTable.h:41:
autogen/include/Clownfish/Obj.h:448:24: error: unknown type name 'lucy_Obj'
lucy_Obj_super_destroy(lucy_Obj *self, lucy_VTable *vtable) {
^
autogen/include/Clownfish/Obj.h:448:40: error: unknown type name 'lucy_VTable'
lucy_Obj_super_destroy(lucy_Obj *self, lucy_VTable *vtable) {
^
autogen/include/Clownfish/Obj.h:449:5: error: use of undeclared identifier 'Lucy_Obj_Destroy_t'
Lucy_Obj_Destroy_t super_destroy
^
autogen/include/Clownfish/Obj.h:451:5: warning: implicit declaration of function 'super_destroy' is invalid in C99 [-Wimplicit-function-declaration]
super_destroy(self);
^
autogen/include/Clownfish/Obj.h:457:19: error: unknown type name 'lucy_Obj'
static CHY_INLINE lucy_Obj*
^
autogen/include/Clownfish/Obj.h:458:17: error: unknown type name 'lucy_Obj'
lucy_Obj_incref(lucy_Obj *self) {
^
autogen/include/Clownfish/Obj.h:459:32: warning: implicit declaration of function 'Lucy_Obj_Inc_RefCount' is invalid in C99 [-Wimplicit-function-declaration]
if (self != NULL) { return Lucy_Obj_Inc_RefCount(self); }
^
autogen/include/Clownfish/Obj.h:466:17: error: unknown type name 'lucy_Obj'
lucy_Obj_decref(lucy_Obj *self) {
^
autogen/include/Clownfish/Obj.h:467:32: warning: implicit declaration of function 'Lucy_Obj_Dec_RefCount' is invalid in C99 [-Wimplicit-function-declaration]
if (self != NULL) { return Lucy_Obj_Dec_RefCount(self); }
^
In file included from ../core/Clownfish/ByteBuf.c:27:
autogen/include/Clownfish/VTable.h:471:19: error: unknown type name 'lucy_VTable'
extern CHY_EXPORT cfish_VTable *CLOWNFISH_VTABLE;
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
In file included from ../core/Clownfish/ByteBuf.c:28:
autogen/include/Clownfish/ByteBuf.h:461:19: error: unknown type name 'lucy_VTable'
extern CHY_EXPORT cfish_VTable *CLOWNFISH_BYTEBUF;
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
In file included from ../core/Clownfish/ByteBuf.c:28:
autogen/include/Clownfish/ByteBuf.h:954:19: error: unknown type name 'lucy_VTable'
extern CHY_EXPORT cfish_VTable *CLOWNFISH_VIEWBYTEBUF;
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
In file included from ../core/Clownfish/ByteBuf.c:29:
autogen/include/Clownfish/Err.h:413:19: error: unknown type name 'lucy_VTable'
extern CHY_EXPORT cfish_VTable *CLOWNFISH_ERR;
^
autogen/include/parcel.h:104:22: note: expanded from macro 'cfish_VTable'
#define cfish_VTable lucy_VTable
^
In file included from ../core/Clownfish/ByteBuf.c:29:
autogen/include/Clownfish/Err.h:550:31: error: unknown type name 'lucy_Obj'
lucy_Err_abstract_class_check(lucy_Obj *obj, lucy_VTable *vtable) {
^
autogen/include/Clownfish/Err.h:550:46: error: unknown type name 'lucy_VTable'
lucy_Err_abstract_class_check(lucy_Obj *obj, lucy_VTable *vtable) {
^
autogen/include/Clownfish/Err.h:551:5: error: use of undeclared identifier 'lucy_VTable'
lucy_VTable *const my_vtable = *(lucy_VTable**)obj;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
error building ../core/Clownfish/ByteBuf.o from '../core/Clownfish/ByteBuf.c' at /Users/loganbell/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/ExtUtils/CBuilder/Base.pm line 177.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment