#34: Linux make -> ../common/launch.c:967: warning: unused variable `p'
--------------------------+-------------------------------------------------
       Id:  34            |      Status:  new                     
Component:  PyInstaller   |    Modified:  Thu Jan 26 18:05:26 2006
 Severity:  major         |   Milestone:  PyInstaller 1.0         
 Priority:  normal        |     Version:  PyInstaller 1.0         
    Owner:  giovannibajo  |    Reporter:  Bigfoot29               
--------------------------+-------------------------------------------------
 After downloading the installer I managed to run 'python Make.py', but
 when I run
 'make', I get the following Error:

 gcc -pthread  -I../common -I/usr/include/python2.3
 -I/usr/include/python2.3 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -DHAVE_WARNINGS -c getpath.c -o getpath.o
 gcc -pthread  -I../common -I/usr/include/python2.3
 -I/usr/include/python2.3 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -DHAVE_WARNINGS -c main.c -o main.o
 In file included from /usr/include/python2.3/Python.h:8,
                  from ../common/launch.h:185,
                  from main.c:28:
 /usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE"
 redefined
 In file included from /usr/include/stdio.h:28,
                  from ../common/launch.h:30,
                  from main.c:28:
 /usr/include/features.h:171:1: warning: this is the location of the
 previous definition
 gcc -pthread  -I../common -I/usr/include/python2.3
 -I/usr/include/python2.3 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -DHAVE_WARNINGS -c ../common/launch.c -o launch.o
 In file included from /usr/include/python2.3/Python.h:8,
                  from ../common/launch.h:185,
                  from ../common/launch.c:42:
 /usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE"
 redefined
 In file included from /usr/include/stdio.h:28,
                  from ../common/launch.c:28:
 /usr/include/features.h:171:1: warning: this is the location of the
 previous definition
 ../common/launch.c:44:18: zlib.h: No such file or directory
 ../common/launch.c: In function `decompress':
 ../common/launch.c:679: error: `z_stream' undeclared (first use in this
 function)
 ../common/launch.c:679: error: (Each undeclared identifier is reported
 only once
 ../common/launch.c:679: error: for each function it appears in.)
 ../common/launch.c:679: error: syntax error before "zstream"
 ../common/launch.c:683: error: `zlibVersion' undeclared (first use in this
 function)
 ../common/launch.c:690: error: `zstream' undeclared (first use in this
 function)
 ../common/launch.c:697: warning: implicit declaration of function
 `inflateInit'
 ../common/launch.c:699: error: `inflate' undeclared (first use in this
 function)
 ../common/launch.c:699: error: `Z_FINISH' undeclared (first use in this
 function)
 ../common/launch.c:701: error: `inflateEnd' undeclared (first use in this
 function)
 ../common/launch.c: In function `init':
 ../common/launch.c:967: warning: unused variable `p'
 make: *** [launch.o] Error 1

 System: Debian 'Sarge' with Python 2.3.5, GCC 2.95 and 3.3 (tried both,
 wasn't working in both cases)

 Sorry bout pestering you... can this be fixed by myself? Is there a newer
 Release where this is fixed?

 Regards, Bigfoot29

-- 
Ticket URL: <http://pyinstaller.hpcf.upr.edu/cgi-bin/trac.cgi/ticket/34>
PyInstaller <http://pyinstaller.hpcf.upr.edu>
PyInstaller

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to