[Cgdb-users] compiling on OS X leopard
Brought to you by:
bobbybrasko,
crouchingturbo
From: Badi' Abdul-W. <ali...@gm...> - 2007-11-15 18:52:03
|
Hi. I'm trying to get cgdb compiled and installed on my Apple laptop running OS 10.5. I've tried compiling from source and using MacPorts. They both halt compiling on the same error (this is from the MacPort attempt): [~/src/cvs-svn/cgdb]: port install cgdb ---> Building cgdb 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_cgdb/work/cgdb-0.6.4" && make all " returned error 2 Command output: make all-recursive Making all in lib Making all in gdbmi make all-recursive Making all in src make[5]: Nothing to be done for `all'. make[5]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in various Making all in util Making all in src if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/local/include - I./../include -O2 -MT pseudo.o -MD -MP -MF ".deps/pseudo.Tpo" -c -o pseudo.o pseudo.c; \ then mv -f ".deps/pseudo.Tpo" ".deps/pseudo.Po"; else rm -f ".deps/pseudo.Tpo"; exit 1; fi pseudo.c: In function 'pty_open': pseudo.c:338: error: 'I_PUSH' undeclared (first use in this function) pseudo.c:338: error: (Each undeclared identifier is reported only once pseudo.c:338: error: for each function it appears in.) make[4]: *** [pseudo.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Does anyone have any idea as to what's going on? This seems to be specific to the apple os, since I compiled and installed on a linux box I have access to. Thanks. |