Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14207 closed defect (duplicate)

New libidl (0.8.10) doesn't compile on 10.5 Intel

Reported by: luca@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Here's the log, I had this error for weeks even with the previous version of libidl. I've seen many of these marked as duplicate but I can't find a precise duplicate of this particular error.

iMac:~ luca$ sudo port install libidl
--->  Fetching libidl
--->  Attempting to fetch libIDL-0.8.10.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/libIDL/0.8/
--->  Verifying checksum(s) for libidl
--->  Extracting libidl
--->  Configuring libidl
--->  Building libidl 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_devel_libidl/work/libIDL-0.8.10" && make all " returned error 2
Command output:  /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.10\" "-DPACKAGE_STRING=\"libIDL 0.8.10\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.10\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"/usr/bin/cpp-4.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/opt/local/include -O2 -no-cpp-precomp -MT ns.lo -MD -MP -MF .deps/ns.Tpo -c ns.c  -fno-common -DPIC -o .libs/ns.o
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.10\" "-DPACKAGE_STRING=\"libIDL 0.8.10\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.10\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"/usr/bin/cpp-4.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/opt/local/include -O2 -no-cpp-precomp -MT ns.lo -MD -MP -MF .deps/ns.Tpo -c ns.c -o ns.o >/dev/null 2>&1
mv -f .deps/ns.Tpo .deps/ns.Plo
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.10\" -DPACKAGE_STRING=\"libIDL\ 0.8.10\" -DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi\?product=libIDL\" -DLIBIDL_VERSION=\"0.8.10\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"/usr/bin/cpp-4.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -I/opt/local/include  -O2 -no-cpp-precomp -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.10\" "-DPACKAGE_STRING=\"libIDL 0.8.10\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.10\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"/usr/bin/cpp-4.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/opt/local/include -O2 -no-cpp-precomp -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fno-common -DPIC -o .libs/util.o
 /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.10\" "-DPACKAGE_STRING=\"libIDL 0.8.10\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.10\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"/usr/bin/cpp-4.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/opt/local/include -O2 -no-cpp-precomp -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
mv -f .deps/util.Tpo .deps/util.Plo
/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -O2 -no-cpp-precomp -version-info 0:0:0 -L/opt/local/lib -lglib-2.0 -lintl -liconv   -no-undefined -L/opt/local/lib -o libIDL-2.la -rpath /opt/local/lib parser.lo lexer.lo ns.lo util.lo  
/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libIDL-2.0.0.0.dylib  .libs/parser.o .libs/lexer.o .libs/ns.o .libs/util.o  -L/opt/local/lib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  -install_name  /opt/local/lib/libIDL-2.0.dylib -compatibility_version 1 -current_version 1.0
Undefined symbols:
  "___IDL_lex", referenced from:
      ___IDL_parse in parser.o
  "___IDL_lex_init", referenced from:
      _IDL_parse_filename_with_input in util.o
      _IDL_parse_filename in util.o
  "___IDL_cur_token_line", referenced from:
      ___IDL_cur_token_line$non_lazy_ptr in parser.o
  "___IDL_in", referenced from:
      ___IDL_in$non_lazy_ptr in util.o
  "___IDL_lex_cleanup", referenced from:
      _IDL_parse_filename_with_input in util.o
      _IDL_parse_filename_with_input in util.o
      _IDL_parse_filename in util.o
  "___IDL_prev_token_line", referenced from:
      ___IDL_prev_token_line$non_lazy_ptr in parser.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libIDL-2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (2)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Priority: HighNormal
Resolution: duplicate
Status: newclosed

Duplicate of #14058.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.