[NumPy-Tickets] [NumPy] #1909: Datetime related build error on Windows
NumPy Trac
numpy-tickets@scipy....
Sun Jul 17 14:38:56 CDT 2011
#1909: Datetime related build error on Windows
----------------------+-----------------------------------------------------
Reporter: rgommers | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: devel
Keywords: |
----------------------+-----------------------------------------------------
Only in master. Builds okay on OS X.
{{{
creating build\temp.win32-2.6\Release\numpy\core\src\multiarray
compile options: '-Inumpy\core\include
-Ibuild\src.win32-2.6\numpy\core\include/numpy -Inumpy\core\src\private
-Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath
-Inumpy\core\src\multiarray -Inumpy\core\src\umath
-Inumpy\core\src\npysort -Inumpy\core\include -IC:\Python26\include
-IC:\Python26\PC -Ibuild\src.win32-2.6\numpy\core\src\multiarray
-Ibuild\src.win32-2.6\numpy\core\src\umath -c'
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Inumpy\core\include
-Ibuild\src.win32-2.6\numpy\core\include/numpy -Inumpy\core\src\private
-Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath
-Inumpy\core\src\multiarray -Inumpy\core\src\umath
-Inumpy\core\src\npysort -Inumpy\core\include -IC:\Python26\include
-IC:\Python26\PC -Ibuild\src.win32-2.6\numpy\core\src\multiarray
-Ibuild\src.win32-2.6\numpy\core\src\umath -c
numpy\core\src\multiarray\multiarraymodule_onefile.c -o
build\temp.win32-2.6\Release\numpy\core\src\multiarray\multiarraymodule_onefile.o
g++ -mno-cygwin -shared
build\temp.win32-2.6\Release\numpy\core\src\multiarray\multiarraymodule_onefile.o
-LC:\Python26\libs -LC:\Python26\PCbuild -Lbuild\temp.win32-2.6 -lnpymath
-lnpysort -lpython26 -lmsvcr90 -o
build\lib.win32-2.6\numpy\core\multiarray.pyd
build\temp.win32-2.6\Release\numpy\core\src\multiarray\multiarraymodule_onefile.o:multiarraymodule_onefile.c:(.text+0x7b15):
undefined reference to `localtime_s'
build\temp.win32-2.6\Release\numpy\core\src\multiarray\multiarraymodule_onefile.o:multiarraymodule_onefile.c:(.text+0x8139):
undefined reference to `gmtime_s'
build\temp.win32-2.6\Release\numpy\core\src\multiarray\multiarraymodule_onefile.o:multiarraymodule_onefile.c:(.text+0x98d1):
undefined reference to `localtime_s'
collect2: ld returned 1 exit status
error: Command "g++ -mno-cygwin -shared
build\temp.win32-2.6\Release\numpy\core\src\multiarray\multiarraymodule_onefile.o
-LC:\Python26\libs -LC:\Python26\PCbuild -Lbuild\temp.win32-2.6 -lnpymath
-lnpysort -lpython26 -lmsvcr90 -o
build\lib.win32-2.6\numpy\core\multiarray.pyd" failed with exit status 1
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1909>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list