Compilation errors when triyng to build freetz with zlib

Bug #425012 reported by Janosch Peters
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
zlib (Ubuntu)
New
Undecided
Unassigned

Bug Description

When trying to compile freetz-trunk (www.freetz.org) on i386 karmic koala (alpha4), I encounter the error shown below. The Version of zlibg1-dev is 1:1.2.3.3.dfsg-13ubuntu2.

make -j2 CXX="g++" LZMA_DIR="../../lzma443" \
  -C /home/janosch/src/freetz-trunk/source/host-tools/squashfs2.2-r2/squashfs-tools mksquashfs-lzma
make[1]: Betrete Verzeichnis '/home/janosch/src/freetz-trunk/source/host-tools/squashfs2.2-r2/squashfs-tools'
sed -e 's/squashfs_fs\.h/squashfs_fs-lzma.h/g' mksquashfs.c > mksquashfs-lzma.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -o read_fs.o read_fs.c
In file included from read_fs.c:35:
/usr/include/zlib.h:1366: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gzseek64’
/usr/include/zlib.h:1367: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gztell64’
/usr/include/zlib.h:1368: error: expected declaration specifiers or ‘...’ before ‘off64_t’
/usr/include/zlib.h:1369: error: expected declaration specifiers or ‘...’ before ‘off64_t’

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.