Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] os x building
Home

[Freeciv-Dev] os x building

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] os x building
From: Ruben Zilibowitz <rzilibow@xxxxxxxxxxxxxx>
Date: Fri, 7 Jan 2005 07:19:49 +1100

Hi,

I am building freeciv 2 beta 6 on mac os x using gtk+ 2.0. I am having trouble getting it to work with sdl_mixer, and I am wondering if anyone had any clues... Below is the relevant portion of config.log after running the configure script.

nb: I have compiled and run an sdl-mixer demo from the net, so it should work.

Thanks,
Ruben

------------------------------

configure:14419: checking for SDL/SDL_mixer.h
configure:14426: result: yes
configure:14437: checking for Mix_OpenAudio in -lSDL_mixer
configure:14467: gcc -no-cpp-precomp -o conftest -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -O3 -I/sw/include -L/sw/lib conftest.c -lSDL_mixer -lz -liconv >&5 ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol __libiconv_version used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _aliases_lookup used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _libiconv used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _libiconv_close used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _libiconv_open used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _libiconvctl used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _libiconvlist used from dynamic library /usr/lib/libiconv.2.dylib(iconv.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(iconv.o) symbol _locale_charset used from dynamic library /usr/lib/libiconv.2.dylib(localcharset.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(localcharset.o) symbol _libiconv_relocate used from dynamic library /usr/lib/libiconv.2.dylib(relocatable.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(relocatable.o) symbol _libiconv_set_relocation_prefix used from dynamic library /usr/lib/libiconv.2.dylib(relocatable.o) not from earlier dynamic library /sw/lib/libiconv.2.dylib(relocatable.o)
configure:14473: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define FC_CONFIG_H 1
| #define MAJOR_VERSION 2
| #define MINOR_VERSION 0
| #define PATCH_VERSION 0
| #define VERSION_LABEL "-beta6"
| #define VERSION_STRING "2.0.0-beta6"
| #define IS_DEVEL_VERSION 0
| #define IS_BETA_VERSION 1
| #define PACKAGE "freeciv"
| #define VERSION "2.0.0-beta6"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NL_TYPES_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_FEOF_UNLOCKED 1
| #define HAVE_GETCWD 1
| #define HAVE_GETEGID 1
| #define HAVE_GETEUID 1
| #define HAVE_GETGID 1
| #define HAVE_GETUID 1
| #define HAVE_MUNMAP 1
| #define HAVE_PUTENV 1
| #define HAVE_SETENV 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STPCPY 1
| #define HAVE_STRCHR 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRDUP 1
| #define HAVE_STRTOUL 1
| #define HAVE_TSEARCH 1
| #define HAVE_ICONV 1
| #define ICONV_CONST const
| #define HAVE_LANGINFO_CODESET 1
| #define HAVE_LC_MESSAGES 1
| #define LOCALEDIR "/Users/ruben/Applications/freeciv-2.0.0-beta6/share/locale"
| #define HAVE_LIBZ 1
| #define HAVE_ICONV 1
| #define ICONV_CONST const
| #define HAVE_LIBCHARSET 1
| #define HAVE_LANGINFO_CODESET 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char Mix_OpenAudio ();
| int
| main ()
| {
| Mix_OpenAudio ();
|   ;
|   return 0;
| }
configure:14498: result: no
configure:14504: checking building SDL_mixer support
configure:14518: result: no, found header but not library!




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] os x building, Ruben Zilibowitz <=