slush

Untitled

Oct 11th, 2012
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. marekp@ausus2:~/projekty/midstate$ make
  2. gcc -march=native -Wall -funroll-all-loops -O3 -fstrict-aliasing -Wall -std=c99 -I/usr/include/python2.7 midstatemodule.c -o test -Wl,-O1 -Wl,--as-needed -lpython2.7
  3. midstatemodule.c:144:15: error: variable ‘midstatemodule’ has initialiser but incomplete type
  4. midstatemodule.c:145:2: error: ‘PyModuleDef_HEAD_INIT’ undeclared here (not in a function)
  5. midstatemodule.c:145:2: warning: excess elements in struct initialiser [enabled by default]
  6. midstatemodule.c:145:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  7. midstatemodule.c:146:2: warning: excess elements in struct initialiser [enabled by default]
  8. midstatemodule.c:146:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  9. midstatemodule.c:147:2: warning: excess elements in struct initialiser [enabled by default]
  10. midstatemodule.c:147:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  11. midstatemodule.c:148:2: warning: excess elements in struct initialiser [enabled by default]
  12. midstatemodule.c:148:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  13. midstatemodule.c:149:2: warning: excess elements in struct initialiser [enabled by default]
  14. midstatemodule.c:149:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  15. midstatemodule.c:150:2: warning: excess elements in struct initialiser [enabled by default]
  16. midstatemodule.c:150:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  17. midstatemodule.c:151:2: warning: excess elements in struct initialiser [enabled by default]
  18. midstatemodule.c:151:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  19. midstatemodule.c:152:2: warning: excess elements in struct initialiser [enabled by default]
  20. midstatemodule.c:152:2: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  21. midstatemodule.c:154:1: warning: excess elements in struct initialiser [enabled by default]
  22. midstatemodule.c:154:1: warning: (near initialisation for ‘midstatemodule’) [enabled by default]
  23. midstatemodule.c: In function ‘PyInit_midstate’:
  24. midstatemodule.c:159:2: warning: implicit declaration of function ‘PyModule_Create’ [-Wimplicit-function-declaration]
  25. midstatemodule.c:159:2: warning: ‘return’ with a value, in function returning void [enabled by default]
  26. make: *** [test] Error 1
RAW Paste Data