Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2007 02:40:40 +0300
From:      "Artem Kuchin" <matrix@itlegion.ru>
To:        <freebsd-current@freebsd.org>
Subject:   Deep troubles building new BETA
Message-ID:  <01cb01c81f3c$1f0fff20$0c00a8c0@Artem>

next in thread | raw e-mail | index | archive | help
Hello!

I have build the first beta w/o any problem.
But now, when i try to build a new course after cvs up
and get and error and cannot fix it in any way. On another box
the same source compiles just fine. I just don't get it where
to fix it. Please, help!

# gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]


here is the related build log:

===> bin/csh (all)
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.dir.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.dol.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.err.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.exec.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.char.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.exp.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.file.c
cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -Wno-pointer-sign -c /usr/src/bin/csh/../../contrib/tcsh/sh.func.c
/usr/src/bin/csh/../../contrib/tcsh/sh.func.c: In function 'iconv_catgets':
/usr/src/bin/csh/../../contrib/tcsh/sh.func.c:2371: error: 'ICONV_CONST' undeclared (first use in this function)
/usr/src/bin/csh/../../contrib/tcsh/sh.func.c:2371: error: (Each undeclared identifier is reported only once
/usr/src/bin/csh/../../contrib/tcsh/sh.func.c:2371: error: for each function it appears in.)
/usr/src/bin/csh/../../contrib/tcsh/sh.func.c:2371: error: expected ';' before 'char'
/usr/src/bin/csh/../../contrib/tcsh/sh.func.c:2377: error: 'src' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/bin/csh.
*** Error code 1

Stop in /usr/src/bin.
*** Error code 1


--
Artem






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01cb01c81f3c$1f0fff20$0c00a8c0>