Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17195 closed defect (duplicate)

jpeg +universal variant doesn't compile on ppc

Reported by: simon.perreault@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: jpeg

Description

The following command is missing the -isysroot flag.

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_jpeg/work/jpeg-6b" && make all'
./libtool --mode=link /usr/bin/gcc-4.0 -L/opt/local/lib -arch i386 -arch ppc -o cjpeg cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo rdbmp.lo rdswitch.lo cdjpeg.lo libjpeg.la 
/usr/bin/gcc-4.0 -L/opt/local/lib -arch i386 -arch ppc -o .libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o -L.libs -ljpeg 
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file: /usr/lib/libSystem.B.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
___sF
_fclose
_fopen
_fprintf
_fwrite
_getc
_sscanf
_ungetc
_fread
__DefaultRuneLocale
___maskrune
_memcpy
___tolower
_memset referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_memcpy referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
___sF referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_exit referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_fprintf referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_sprintf referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_ferror referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_fflush referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_fwrite referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_getenv referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_sscanf referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_free referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
_malloc referenced from libjpeg.62 expected to be defined in /usr/lib/libSystem.B.dylib
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc3InETQ.out (No such file or directory)
make: *** [cjpeg] Error 1

Change History (3)

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

Owner: changed from macports-tickets@… to waqar@…
Port: jpeg added

Assigning to maintainer.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #16411.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.