Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15105 closed defect (invalid)

zlib fails to build

Reported by: nevlik@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: zlib build Cc:
Port:

Description

I'm having a very similar issue to ticket 13188.

tinybubbles:~ nevlik$ sudo /opt/local/bin/port install zlib     
--->  Fetching zlib
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.3" && make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o example.o example.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o adler32.o adler32.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o compress.o compress.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o crc32.o crc32.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o gzio.o gzio.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o uncompr.o uncompr.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o deflate.o deflate.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o trees.o trees.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o zutil.o zutil.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o inflate.o inflate.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o infback.o infback.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o inftrees.o inftrees.c
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP   -c -o inffast.o inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o 
/usr/bin/gcc-4.0 -O2 -DNO_vsnprintf -DUSE_MMAP -o example example.o -L. libz.a
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
collect2: ld returned 1 exit status
make: *** [example] Error 1

Error: Status 1 encountered during processing.

I've done a clean, a clean --work, to no avail.

Thanks.

Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to landonf@…

Assigning to maintainer

comment:2 in reply to:  1 Changed 16 years ago by landonf (Landon Fuller)

Resolution: invalid
Status: newclosed

I don't think this is a MacPorts or zlib problem. Try upgrading Xcode. See: http://www.nabble.com/configure:2580:-error:-C-compiler-cannot-create-executables-td16315138.html

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.