bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile on MacOS


From: Andrea -XFox- Govoni
Subject: Re: Compile on MacOS
Date: Mon, 07 Nov 2005 12:02:53 +0100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; it-IT; rv:1.8b) Gecko/20050217

Christian Gennerat ha scritto:
> with this config:
> 
> uname -m = Power Macintosh
> uname -r = 7.9.0
> uname -s = Darwin
> uname -v = Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005;
> root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC

CUT

> Mac-Gennerat:~/Desktop/ncurses-5.4 xgen$ cd ../ncurses-5.5
> Mac-Gennerat:~/Desktop/ncurses-5.5 xgen$ make
> cd man && make DESTDIR="" all
> make[1]: Nothing to be done for `all'.
> cd include && make DESTDIR="" all
> make[1]: Nothing to be done for `all'.
> cd ncurses && make DESTDIR="" all
> make[1]: Nothing to be done for `all'.
> cd progs && make DESTDIR="" all
> gcc ../objects/tic.o ../objects/dump_entry.o -L../lib -lncurses   
> -I../progs -I. -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG
> -I/usr/local/include/ncurses -O2  -no-cpp-precomp -o tic
> ld: Undefined symbols:
> __nc_check_termtype2
> __nc_resolve_uses2
> __nc_trim_sgr0
> make[1]: *** [tic] Error 1
> make: *** [all] Error 2

Same here (Mac OS X 10.4.3 Tiger):
% uname -m = Power Macintosh
% uname -r = 8.3.0
% uname -s = Darwin
% uname -v = Darwin Kernel Version 8.3.0: Mon Oct  3 20:04:04 PDT 2005;
root:xnu-792.6.22.obj~2/RELEASE_PPC

Configured with:
%./configure --enable-widec --with-normal --without-debug
All goes fine.

If I configure without --enable-widec:
./configure --with-normal --without-debug

I get this error:
gcc ../objects/tic.o ../objects/dump_entry.o -L../lib -lncurses
-I../progs -I. -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG
-I/usr/local/include/ncurses -O2  -no-cpp-precomp -o tic
/usr/bin/ld: Undefined symbols:
__nc_check_termtype2
__nc_resolve_uses2
__nc_trim_sgr0
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make: *** [all] Error 2


I downloaded ncurses-5.5.tar.gz from
http://ftp.gnu.org/pub/gnu/ncurses/
and I didn't apply any patch.
Any clue about where those undefined symbols comes from?

-- 
Andrea "XFox" Govoni

ICQ UIN: 43488185
AIM/iChat: address@hidden
Yahoo! ID: xfox82
Skype Name: draykan

PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639  5C36 B7A0 605F 212E 69C1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]