Skip to content

Instantly share code, notes, and snippets.

@redj
Created July 5, 2018 20:16
Show Gist options
  • Save redj/4620508bb7461025bd207a8d5b9ecb12 to your computer and use it in GitHub Desktop.
Save redj/4620508bb7461025bd207a8d5b9ecb12 to your computer and use it in GitHub Desktop.
D:\c\e\e>cd \c\e\e && python setup.py sdist bdist_wheel > py-setup.log
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.h:106:42: error: '__ecereNameSpace__ecere__com__eModule_Load' redeclared as different kind of symbol
#define Module_load __ecereNameSpace__ecere__com__eModule_Load
^
D:\c\e\e\bindings\c\eC.c:269:25: note: in expansion of macro 'Module_load'
LIB_EXPORT C(Module) (* Module_load)(C(Module) __this, const char * name, C(AccessMode) importAccess);
^
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.h:2378:29: note: previous declaration of '__ecereNameSpace__ecere__com__eModule_Load' was here
extern LIB_IMPORT C(Module) __ecereNameSpace__ecere__com__eModule_Load(C(Module) fromModule, const char * name, C(AccessMode) importAccess);
^
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.h:109:42: error: '__ecereNameSpace__ecere__com__eModule_Unload' redeclared as different kind of symbol
#define Module_unload __ecereNameSpace__ecere__com__eModule_Unload
^
D:\c\e\e\bindings\c\eC.c:270:20: note: in expansion of macro 'Module_unload'
LIB_EXPORT void (* Module_unload)(C(Module) __this, C(Module) module);
^
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.h:2381:24: note: previous declaration of '__ecereNameSpace__ecere__com__eModule_Unload' was here
extern LIB_IMPORT void __ecereNameSpace__ecere__com__eModule_Unload(C(Module) fromModule, C(Module) module);
^
In file included from D:\c\e\e\bindings\c\eC.c:1:0:
D:\c\e\e\bindings\c\eC.c:534:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
LIB_EXPORT C(Class) * CO(unsigned int);
^
D:\c\e\e\bindings\c\eC.h:157:50: note: in definition of macro '_CONCATU_2'
#define _CONCATU_2(a, b) a ## _ ## b
^
D:\c\e\e\bindings\c\eC.h:163:40: note: in expansion of macro '_CONCATUN'
#define CONCATU(...) _CONCATUN(NARG(__VA_ARGS__), __VA_ARGS__)
^
D:\c\e\e\bindings\c\eC.h:176:40: note: in expansion of macro 'CONCATU'
#define CO(n...) CONCATU(class, n)
^
D:\c\e\e\bindings\c\eC.c:534:23: note: in expansion of macro 'CO'
LIB_EXPORT C(Class) * CO(unsigned int);
^
D:\c\e\e\bindings\c\eC.c: In function 'eC_init':
D:\c\e\e\bindings\c\eC.c:768:21: error: expected expression before '=' token
CO(char *) = eC_findClass(app, "char *");
^
Traceback (most recent call last):
File "C:\sw\python\3.4\64bit\lib\distutils\cygwinccompiler.py", line 170, in _compile
extra_postargs)
File "C:\sw\python\3.4\64bit\lib\distutils\ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "C:\sw\python\3.4\64bit\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "C:\sw\python\3.4\64bit\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\\ecere\\sdk\\tdm\\bin\\gcc.exe' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\sw\python\3.4\64bit\lib\site-packages\cffi\ffiplatform.py", line 55, in _build
dist.run_command('build_ext')
File "C:\sw\python\3.4\64bit\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\sw\python\3.4\64bit\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\sw\python\3.4\64bit\lib\distutils\command\build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "C:\sw\python\3.4\64bit\lib\distutils\command\build_ext.py", line 504, in build_extension
depends=ext.depends)
File "C:\sw\python\3.4\64bit\lib\distutils\ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "C:\sw\python\3.4\64bit\lib\distutils\cygwinccompiler.py", line 172, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\\ecere\\sdk\\tdm\\bin\\gcc.exe' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "build_eC.py", line 27, in <module>
ffi_eC.compile(verbose=v)
File "C:\sw\python\3.4\64bit\lib\site-packages\cffi\api.py", line 685, in compile
compiler_verbose=verbose, **kwds)
File "C:\sw\python\3.4\64bit\lib\site-packages\cffi\recompiler.py", line 1461, in recompile
outputfilename = ffiplatform.compile('.', ext, compiler_verbose)
File "C:\sw\python\3.4\64bit\lib\site-packages\cffi\ffiplatform.py", line 29, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose)
File "C:\sw\python\3.4\64bit\lib\site-packages\cffi\ffiplatform.py", line 62, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.ffiplatform.VerificationError: CompileError: command 'C:\\ecere\\sdk\\tdm\\bin\\gcc.exe' failed with exit status 1
make[1]: *** [all] Error 1
make: *** [py] Error 2
In file included from D:\c\e\e/bindings/py/../c/eC.c:1:0:
D:/c/e/e/bindings/c/eC.h:106:42: error: '__ecereNameSpace__ecere__com__eModule_Load' redeclared as different kind of symbol
#define Module_load __ecereNameSpace__ecere__com__eModule_Load
^
D:\c\e\e/bindings/py/../c/eC.c:269:25: note: in expansion of macro 'Module_load'
LIB_EXPORT C(Module) (* Module_load)(C(Module) __this, const char * name, C(AccessMode) importAccess);
^
In file included from D:\c\e\e/bindings/py/../c/eC.c:1:0:
D:/c/e/e/bindings/c/eC.h:2378:29: note: previous declaration of '__ecereNameSpace__ecere__com__eModule_Load' was here
extern LIB_IMPORT C(Module) __ecereNameSpace__ecere__com__eModule_Load(C(Module) fromModule, const char * name, C(AccessMode) importAccess);
^
In file included from D:\c\e\e/bindings/py/../c/eC.c:1:0:
D:/c/e/e/bindings/c/eC.h:109:42: error: '__ecereNameSpace__ecere__com__eModule_Unload' redeclared as different kind of symbol
#define Module_unload __ecereNameSpace__ecere__com__eModule_Unload
^
D:\c\e\e/bindings/py/../c/eC.c:270:20: note: in expansion of macro 'Module_unload'
LIB_EXPORT void (* Module_unload)(C(Module) __this, C(Module) module);
^
In file included from D:\c\e\e/bindings/py/../c/eC.c:1:0:
D:/c/e/e/bindings/c/eC.h:2381:24: note: previous declaration of '__ecereNameSpace__ecere__com__eModule_Unload' was here
extern LIB_IMPORT void __ecereNameSpace__ecere__com__eModule_Unload(C(Module) fromModule, C(Module) module);
^
In file included from D:\c\e\e/bindings/py/../c/eC.c:1:0:
D:\c\e\e/bindings/py/../c/eC.c:534:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
LIB_EXPORT C(Class) * CO(unsigned int);
^
D:/c/e/e/bindings/c/eC.h:157:50: note: in definition of macro '_CONCATU_2'
#define _CONCATU_2(a, b) a ## _ ## b
^
D:/c/e/e/bindings/c/eC.h:163:40: note: in expansion of macro '_CONCATUN'
#define CONCATU(...) _CONCATUN(NARG(__VA_ARGS__), __VA_ARGS__)
^
D:/c/e/e/bindings/c/eC.h:176:40: note: in expansion of macro 'CONCATU'
#define CO(n...) CONCATU(class, n)
^
D:\c\e\e/bindings/py/../c/eC.c:534:23: note: in expansion of macro 'CO'
LIB_EXPORT C(Class) * CO(unsigned int);
^
D:\c\e\e/bindings/py/../c/eC.c: In function 'eC_init':
D:\c\e\e/bindings/py/../c/eC.c:768:21: error: expected expression before '=' token
CO(char *) = eC_findClass(app, "char *");
^
error: command 'C:\\ecere\\sdk\\tdm\\bin\\gcc.exe' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment