[MacPorts] #15595: mlterm 2.9.2 build error
MacPorts
noreply at macports.org
Thu Jun 12 07:35:04 PDT 2008
#15595: mlterm 2.9.2 build error
-----------------------------------------------------------------------------+
Reporter: itabtabai at mac.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: mlterm 2.9.2 kik_str.h:53: error: syntax error before '*' token |
-----------------------------------------------------------------------------+
I've tried compiling mlterm port with variants and was unsuccessful. So I
tried to compile with only the +bidi, still not successful. The build log:
I have a macmini with leopard and x code3.
{{{
# port -d install mlterm +bidi
.
.
.
Mlterm was configured as follows
Installation path prefix : /opt/local
Build shared libraries : yes
Build static libraries : yes
Optimization for redrawing a line : no
BiDi rendering (Fribidi) : yes
ISCII rendering (libind) : no
External tools : mlclient mlcc
Image library :
utmp support : no
Type engines : xcore
DnD : yes
Input Methods : XIM kbd
Scrollbars : simple sample extra
---> Building mlterm with target all
.
.
.
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_pty_streams.c -fno-
common -DPIC -o .libs/kik_pty_streams.lo
In file included from kik_pty_streams.c:38:
kik_str.h:53: error: syntax error before '*' token
kik_str.h:59: error: syntax error before '*' token
kik_str.h:63: error: syntax error before '*' token
kik_pty_streams.c: In function 'kik_pty_fork':
kik_pty_streams.c:102: error: 'O_NDELAY' undeclared (first use in this
function)
kik_pty_streams.c:102: error: (Each undeclared identifier is reported only
once
kik_pty_streams.c:102: error: for each function it appears in.)
kik_pty_streams.c:133: error: 'CEOF' undeclared (first use in this
function)
kik_pty_streams.c:135: error: 'CERASE' undeclared (first use in this
function)
kik_pty_streams.c:136: error: 'CINTR' undeclared (first use in this
function)
kik_pty_streams.c:137: error: 'CKILL' undeclared (first use in this
function)
kik_pty_streams.c:138: error: 'CQUIT' undeclared (first use in this
function)
kik_pty_streams.c:139: error: 'CSTART' undeclared (first use in this
function)
kik_pty_streams.c:140: error: 'CSTOP' undeclared (first use in this
function)
kik_pty_streams.c:141: error: 'CSUSP' undeclared (first use in this
function)
make[2]: *** [kik_pty_streams.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mlterm/work/mlterm-2.9.2"
&& make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c
kik_unistd.c -fno-common -DPIC -o .libs/kik_unistd.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_unistd.c -o
kik_unistd.o >/dev/null 2>&1
mv -f .libs/kik_unistd.lo kik_unistd.lo
../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I.
-c kik_sig_child.c
rm -f .libs/kik_sig_child.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_sig_child.c -fno-
common -DPIC -o .libs/kik_sig_child.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_sig_child.c -o
kik_sig_child.o >/dev/null 2>&1
mv -f .libs/kik_sig_child.lo kik_sig_child.lo
../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I.
-c kik_pty_streams.c
rm -f .libs/kik_pty_streams.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c kik_pty_streams.c -fno-
common -DPIC -o .libs/kik_pty_streams.lo
In file included from kik_pty_streams.c:38:
kik_str.h:53: error: syntax error before '*' token
kik_str.h:59: error: syntax error before '*' token
kik_str.h:63: error: syntax error before '*' token
kik_pty_streams.c: In function 'kik_pty_fork':
kik_pty_streams.c:102: error: 'O_NDELAY' undeclared (first use in this
function)
kik_pty_streams.c:102: error: (Each undeclared identifier is reported only
once
kik_pty_streams.c:102: error: for each function it appears in.)
kik_pty_streams.c:133: error: 'CEOF' undeclared (first use in this
function)
kik_pty_streams.c:135: error: 'CERASE' undeclared (first use in this
function)
kik_pty_streams.c:136: error: 'CINTR' undeclared (first use in this
function)
kik_pty_streams.c:137: error: 'CKILL' undeclared (first use in this
function)
kik_pty_streams.c:138: error: 'CQUIT' undeclared (first use in this
function)
kik_pty_streams.c:139: error: 'CSTART' undeclared (first use in this
function)
kik_pty_streams.c:140: error: 'CSTOP' undeclared (first use in this
function)
kik_pty_streams.c:141: error: 'CSUSP' undeclared (first use in this
function)
make[2]: *** [kik_pty_streams.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
Warning: the following items did not execute (for mlterm):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
}}}
I hope the above helps.
--
Ticket URL: <http://trac.macports.org/ticket/15595>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list