Closed GoogleCodeExporter closed 9 years ago
Hi,
Could you give the full path of you zlib.h file just to be sure it is a know
problem ?
#find /usr/include -name "zlib.h"
Do not know which rev your using (post 3062), you can pass the option
-DFORCE_INTERNAL_ZLIB=TRUE to cmake, it will force to statically link against a
local
revision. I hope it will fix your problem. Well there is maybe another bug but
I'm
not sure.
# cmake CMakeLists.txt -DFORCE_INTERNAL_ZLIB=TRUE
Could you try it ?
Cheers
Original comment by gregory....@gmail.com
on 2 Jun 2010 at 10:20
With cmake CMakeLists.txt -DFORCE_INTERNAL_ZLIB=TRUE
i become the same problem:
Linking CXX executable ../bin/pcsx2-dev
CMakeFiles/pcsx2-dev.dir/gui/SysState.cpp.o: In function
`gzipReader::gzipReader(wxString const&)':
SysState.cpp:(.text._ZN10gzipReaderC2ERK8wxString[_ZN10gzipReaderC5ERK8wxString]
+0x61):
undefined reference to `gzopen64'
SysState.cpp:(.text._ZN10gzipReaderC2ERK8wxString[_ZN10gzipReaderC5ERK8wxString]
+0xfb):
undefined reference to `gzbuffer'
CMakeFiles/pcsx2-dev.dir/ZipTools/thread_gzip.cpp.o: In function
`CompressThread_gzip::ExecuteTaskInThread()':
thread_gzip.cpp:(.text+0xb1e): undefined reference to `gzopen64'
thread_gzip.cpp:(.text+0xbe2): undefined reference to `gzbuffer'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [bin/pcsx2-dev] Fehler 1
make[1]: *** [pcsx2/CMakeFiles/pcsx2-dev.dir/all] Fehler 2
make: *** [all] Fehler 2
mock-chroot>
find /usr/include -name "zlib.h" :
mock-chroot> find /usr/include -name "zlib.h"
/usr/include/zlib.h
mock-chroot>
Original comment by linuxdon...@gmail.com
on 2 Jun 2010 at 10:59
Well it was the second bug ;) I fix the work-around (-DFORCE_INTERNAL_ZLIB=TRUE
) in rev 3145
The real solution will take more time :)
Original comment by gregory....@gmail.com
on 3 Jun 2010 at 10:55
Could you test rev 3200 or later. The gz error must be fixed now. No need
-DFORCE_INTERNAL_ZLIB=TRUE anymore.
Thanks
Original comment by gregory....@gmail.com
on 11 Jun 2010 at 3:51
I can´t test it now because i must recreate my chroot because it´s not
compilble under 64 bit.
Original comment by linuxdon...@gmail.com
on 11 Jun 2010 at 7:51
Ok now problem. It is better to use same condition.
Technically it is possible to compile it under 64 bits. The mains issue is to
have the 32bits libraries install on your 64bits system (which is more or less
what do the chroot in a more clean fashion). The second issue is to use the
good include file for wx. I have done something in cmake but I think it is only
working on my system. Actually I never used a chroot to build pcsx2 on my 64
bits system.
Original comment by gregory....@gmail.com
on 11 Jun 2010 at 8:45
I have tested it to compile it with my netbook and Fedora 13 32 bit it compiles
fine and works than on my Fedora 64 Bit maschine too :)
Original comment by linuxdon...@gmail.com
on 15 Jun 2010 at 6:56
Ok, great.
Original comment by gregory....@gmail.com
on 17 Jun 2010 at 5:40
Original issue reported on code.google.com by
linuxdon...@gmail.com
on 31 May 2010 at 1:13