Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13311) Re: Freeciv 2.0.2 on Mac OS X Tiger
Home

[Freeciv-Dev] (PR#13311) Re: Freeciv 2.0.2 on Mac OS X Tiger

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13311) Re: Freeciv 2.0.2 on Mac OS X Tiger
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 09:44:46 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13311 >

What versions of the readline library do you have on these two systems?

You can probably work around it by running ./configure
--without-readline.  However it would be nice to fix it if you'll help
us track down the problem.

-jason




Nathan Brazil wrote:
> Hi.  I am having trouble compiling Freeciv 2.0.2 on Mac OS X Tiger w/
> both GCC 3.3 and GCC 4.  Here's my configure line:
> 
> % env CC="gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib"
> CFLAGS="-O3 -I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure
> --with-included-gettext --enable-client=gtk-2.0
> --prefix=/Users/myname/freeciv-2.0.2 --with-sdl-prefix=/opt/local
> --disable-nls
> 
> Never mind the extra -I and -L flags I threw in.  They are required to
> make sure the SDL libraries and header files get picked up properly for
> some reason.  Probably a quirk w/ DarwinPorts <http://darwinports.org/>.
> 
> In any case, when I do a "make", I eventually get the following:
> 
> if gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
> -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai
> -I../intl -I../common/aicore -I./userdb -I./generator   -O3
> -I/opt/local/include -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -MT sernet.o -MD -MP -MF
> ".deps/sernet.Tpo" -c -o sernet.o sernet.c; \
> then mv -f ".deps/sernet.Tpo" ".deps/sernet.Po"; else rm -f
> ".deps/sernet.Tpo"; exit 1; fi
> sernet.c: In function `close_connections_and_socket':
> sernet.c:238: warning: implicit declaration of function
> `history_truncate_file'
> sernet.c: In function `sniff_packets':
> sernet.c:370: warning: passing arg 2 of `rl_callback_handler_install'
> from incompatible pointer type
> sernet.c:371: warning: assignment from incompatible pointer type
> if gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
> -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai
> -I../intl -I../common/aicore -I./userdb -I./generator   -O3
> -I/opt/local/include -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -MT settings.o -MD -MP -MF
> ".deps/settings.Tpo" -c -o settings.o settings.c; \
> then mv -f ".deps/settings.Tpo" ".deps/settings.Po"; else rm -f
> ".deps/settings.Tpo"; exit 1; fi
> if gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
> -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai
> -I../intl -I../common/aicore -I./userdb -I./generator   -O3
> -I/opt/local/include -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -MT settlers.o -MD -MP -MF
> ".deps/settlers.Tpo" -c -o settlers.o settlers.c; \
> then mv -f ".deps/settlers.Tpo" ".deps/settlers.Po"; else rm -f
> ".deps/settlers.Tpo"; exit 1; fi
> if gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
> -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai
> -I../intl -I../common/aicore -I./userdb -I./generator   -O3
> -I/opt/local/include -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -MT spacerace.o -MD -MP -MF
> ".deps/spacerace.Tpo" -c -o spacerace.o spacerace.c; \
> then mv -f ".deps/spacerace.Tpo" ".deps/spacerace.Po"; else rm -f
> ".deps/spacerace.Tpo"; exit 1; fi
> if gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
> -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai
> -I../intl -I../common/aicore -I./userdb -I./generator   -O3
> -I/opt/local/include -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -MT srv_main.o -MD -MP -MF
> ".deps/srv_main.Tpo" -c -o srv_main.o srv_main.c; \
> then mv -f ".deps/srv_main.Tpo" ".deps/srv_main.Po"; else rm -f
> ".deps/srv_main.Tpo"; exit 1; fi
> if gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib
> -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai
> -I../intl -I../common/aicore -I./userdb -I./generator   -O3
> -I/opt/local/include -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -MT stdinhand.o -MD -MP -MF
> ".deps/stdinhand.Tpo" -c -o stdinhand.o stdinhand.c; \
> then mv -f ".deps/stdinhand.Tpo" ".deps/stdinhand.Po"; else rm -f
> ".deps/stdinhand.Tpo"; exit 1; fi
> stdinhand.c: In function `freeciv_completion':
> stdinhand.c:4509: error: `rl_attempted_completion_over' undeclared
> (first use in this function)
> stdinhand.c:4509: error: (Each undeclared identifier is reported only once
> stdinhand.c:4509: error: for each function it appears in.)
> make[3]: *** [stdinhand.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> The funny thing if I compile under Mac OS X Panther (10.3.x), I don't
> have a problem using GCC 3.3.
> 
> I am hoping someone w/ maybe some BSD and/or Mac OS X experience has
> seen this before.






[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13311) Re: Freeciv 2.0.2 on Mac OS X Tiger, Jason Short <=