Skip to content

Instantly share code, notes, and snippets.

@hdp
Created July 22, 2011 15:18
Show Gist options
  • Save hdp/1099659 to your computer and use it in GitHub Desktop.
Save hdp/1099659 to your computer and use it in GitHub Desktop.
Running Mkbootstrap for Moose ()
chmod 644 Moose.bs
rm -f blib/arch/auto/Moose/Moose.so
cc -shared -O2 -L/usr/local/lib -fstack-protector xs/Attribute.o xs/AttributeCore.o xs/Class.o xs/Generated.o xs/HasAttributes.o xs/HasMethods.o xs/Inlined.o xs/Instance.o xs/Method.o xs/Moose.o xs/MOP.o xs/Package.o Moose.o mop.o -o blib/arch/auto/Moose/Moose.so \
\
Moose.o: In function `boot_Moose':
Moose.c:(.text+0x0): multiple definition of `boot_Moose'
xs/Moose.o:Moose.c:(.text+0x0): first defined here
Moose.o: In function `XS_Moose__Exporter__flag_as_reexport':
Moose.c:(.text+0x460): multiple definition of `XS_Moose__Exporter__flag_as_reexport'
xs/Moose.o:Moose.c:(.text+0x640): first defined here
Moose.o: In function `XS_Moose__Exporter__export_is_flagged':
Moose.c:(.text+0x300): multiple definition of `XS_Moose__Exporter__export_is_flagged'
xs/Moose.o:Moose.c:(.text+0x4e0): first defined here
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Moose/Moose.so] Error 1
error running make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment