Subject: bootstrap fails to compile in 2.0E
To: None <pkgsrc-bugs@netbsd.org>
From: Srinivasa Kanduru <ksraghavan@yahoo.com>
List: pkgsrc-bugs
Date: 06/26/2004 17:30:26
Hi,

I downloaded pkgsrc tree from 
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/pkgsrc/

and ran bootstrap. It gave the following error messages:

[
I am running 2.0E version of NetBSD ..
# uname -a
NetBSD samratchana 2.0E NetBSD 2.0E (GENERIC) #0: Tue May 18 03:46:15 CEST 2004

tron@lyssa.zhadum.de:/export/scratch/tron/build.19008a/obj/sys/arch/i386/compile/GENERIC
i386
#
]

I couldn't find warn_references for signal.h in the std includes or in pkgsrc
directories.

Thanks,
Srini.


===> bootstrap command: ./bootstrap
===> bootstrap started: Sat Jun 26 12:36:35 UTC 2004
Working directory is: work
===> Creating mk.conf.example in work
===> running: /bin/sh work/install-sh -d -o root -g wheel /usr/pkg
===> running: /bin/sh work/install-sh -d -o root -g wheel /var/db/pkg
===> running: /bin/sh work/install-sh -d -o root -g wheel /usr/pkg/sbin
===> running: /bin/sh work/install-sh -d -o root -g wheel /usr/pkg/man/man1
===> running: /bin/sh work/install-sh -d -o root -g wheel /usr/pkg/man/cat1
===> running: /bin/sh work/install-sh -d -o root -g wheel /usr/pkg/man/man8
...
gcc -I.. -I./.. -I. -I. -DHAVE_CONFIG_H  -D_PATH_DEFSYSPATH="/usr/pkg/share/mk"
-DMAKE_BOOTSTRAP   -c lstDestroy.c
gcc -I.. -I./.. -I. -I. -DHAVE_CONFIG_H  -D_PATH_DEFSYSPATH="/usr/pkg/share/mk"
-DMAKE_BOOTSTRAP   -c lstNext.c
mv *.o ..
gcc *.o -o bmake.boot
job.o(.text+0x11d): In function `JobPassSig':
: warning: reference to compatibility sigemptyset(); include <signal.h> for
corr
ect reference
job.o(.text+0xf3): In function `JobPassSig':
: warning: reference to compatibility sigfillset(); include <signal.h> for
corre
ct reference
arch.o(.text+0x60): In function `Arch_ParseArchive':
: undefined reference to `__ctype_b_loc'
arch.o(.text+0x8e): In function `Arch_ParseArchive':
: undefined reference to `__ctype_b_loc'
arch.o(.text+0x3d6): In function `Arch_ParseArchive':
: undefined reference to `__ctype_b_loc'
arch.o(.text+0x6b7): In function `ArchStatMember':
: undefined reference to `__strtol_internal'
arch.o(.text+0x92a): In function `ArchSVR4Entry':
: undefined reference to `__strtol_internal'
arch.o(.text+0xac5): In function `ArchFindMember':
: undefined reference to `__strtol_internal'
arch.o(.text+0xc0c): In function `Arch_MTime':
: undefined reference to `__strtol_internal'
compat.o(.text+0x197): In function `CompatRunCommand':
: undefined reference to `__ctype_b_loc'
compat.o(.text+0x1f3): In function `CompatRunCommand':
: undefined reference to `stdout'
compat.o(.text+0x2c7): In function `CompatRunCommand':
: undefined reference to `__errno_location'
compat.o(.text+0x367): In function `CompatRunCommand':
: undefined reference to `__errno_location'
cond.o(.text+0x3d5): In function `CondCvtArg':
: undefined reference to `__strtod_internal'
cond.o(.text+0x419): In function `CondCvtArg':
: undefined reference to `__ctype_b_loc'
cond.o(.text+0x63b): In function `CondToken':
: undefined reference to `__ctype_b_loc'
cond.o(.text+0x820): In function `CondToken':
: undefined reference to `__ctype_b_loc'
cond.o(.text+0x856): In function `CondToken':
: undefined reference to `__ctype_b_loc'
cond.o(.text+0x8aa): In function `CondToken':
: undefined reference to `__ctype_b_loc'
cond.o(.text+0xa52): more undefined references to `__ctype_b_loc' follow
dir.o(.text+0xb4): In function `Dir_Init':
: undefined reference to `__errno_location'
dir.o(.text+0x4f9): In function `Dir_Expand':
: undefined reference to `stdout'
dir.o(.text+0x82f): In function `DirLookupSubdir':
: undefined reference to `__xstat'
dir.o(.text+0xc84): In function `Dir_FindFile':
: undefined reference to `__xstat'
dir.o(.text+0xea2): In function `Dir_MTime':
: undefined reference to `__xstat'
dir.o(.text+0x10c6): In function `Dir_AddDir':
: undefined reference to `stdout'
for.o(.text+0x9a): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0xd5): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0xfb): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x15e): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x19e): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x1f3): more undefined references to `__ctype_b_loc' follow
for.o(.text+0x29d): In function `For_Eval':
: undefined reference to `stderr'
for.o(.text+0x35b): In function `For_Eval':
: undefined reference to `stderr'
for.o(.text+0x376): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x418): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x462): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x536): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x569): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x5c3): In function `For_Eval':
: undefined reference to `stderr'
for.o(.text+0x5f5): In function `For_Eval':
: undefined reference to `__ctype_b_loc'
for.o(.text+0x633): In function `For_Eval':
: undefined reference to `stderr'
for.o(.text+0x662): In function `For_Eval':
: undefined reference to `__assert_fail'
for.o(.text+0x88f): In function `For_Run':
: undefined reference to `stderr'
job.o(.text+0x36): In function `JobCondPassSig':
: undefined reference to `stdout'
job.o(.text+0x42): In function `JobCondPassSig':
: undefined reference to `stdout'
job.o(.text+0x1e7): In function `JobPassSig':
: undefined reference to `stdout'
job.o(.text+0x1f3): In function `JobPassSig':
: undefined reference to `stdout'
job.o(.text+0x263): In function `JobPassSig':
: undefined reference to `stdout'
job.o(.text+0x26f): more undefined references to `stdout' follow
job.o(.text+0x371): In function `JobPrintCommand':
: undefined reference to `__ctype_b_loc'
job.o(.text+0x692): In function `JobPrintCommand':
: undefined reference to `stdout'
job.o(.text+0x69e): In function `JobPrintCommand':
: undefined reference to `stdout'
job.o(.text+0x6b7): In function `JobPrintCommand':
: undefined reference to `stdout'
job.o(.text+0x6c3): In function `JobPrintCommand':
: undefined reference to `stdout'
job.o(.text+0x6e4): In function `JobPrintCommand':
: undefined reference to `stdout'
job.o(.text+0x6f0): more undefined references to `stdout' follow
job.o(.text+0x11b9): In function `Job_Touch':
: undefined reference to `__errno_location'
job.o(.text+0x11d1): In function `Job_Touch':
: undefined reference to `stdout'
job.o(.text+0x11dd): In function `Job_Touch':
: undefined reference to `stdout'
job.o(.text+0x12ae): In function `Job_CheckCommands':
: undefined reference to `stdout'
job.o(.text+0x12bc): In function `Job_CheckCommands':
: undefined reference to `stdout'
job.o(.text+0x12fa): In function `Job_CheckCommands':
: undefined reference to `stdout'
job.o(.text+0x1308): more undefined references to `stdout' follow
job.o(.text+0x15c7): In function `JobExec':
: undefined reference to `__errno_location'
job.o(.text+0x15f4): In function `JobExec':
: undefined reference to `__errno_location'
job.o(.text+0x1617): In function `JobExec':
: undefined reference to `stdout'
job.o(.text+0x1642): In function `JobExec':
: undefined reference to `stdout'
job.o(.text+0x17ae): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x17c3): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x17ec): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x1801): more undefined references to `stdout' follow
job.o(.text+0x18ff): In function `JobRestart':
: undefined reference to `__errno_location'
job.o(.text+0x194f): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x1964): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x1981): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x198d): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x19e6): In function `JobRestart':
: undefined reference to `stdout'
job.o(.text+0x1a13): more undefined references to `stdout' follow
job.o(.text+0x1d64): In function `JobStart':
: undefined reference to `__errno_location'
job.o(.text+0x1d8a): In function `JobStart':
: undefined reference to `stdout'
job.o(.text+0x1d96): In function `JobStart':
: undefined reference to `stdout'
: undefined reference to `stdout'
job.o(.text+0x1e88): In function `JobStart':
: undefined reference to `__errno_location'
job.o(.text+0x1ec7): In function `JobStart':
: undefined reference to `stdout'
job.o(.text+0x1eda): In function `JobStart':
: undefined reference to `stdout'
job.o(.text+0x1f01): In function `JobStart':
: undefined reference to `stdout'
job.o(.text+0x1fd0): In function `JobOutput':
: undefined reference to `stdout'
job.o(.text+0x1fe9): In function `JobOutput':
: undefined reference to `stdout'
job.o(.text+0x1ff6): more undefined references to `stdout' follow
job.o(.text+0x2988): In function `Job_ParseShell':
: undefined reference to `__ctype_b_loc'
job.o(.text+0x2d21): In function `JobInterrupt':
: undefined reference to `stdout'
job.o(.text+0x2d2d): In function `JobInterrupt':
: undefined reference to `stdout'
job.o(.text+0x2f8e): In function `JobRestartJobs':
: undefined reference to `stdout'
job.o(.text+0x2fa3): In function `JobRestartJobs':
: undefined reference to `stdout'
job.o(.text+0x32a3): In function `Job_ServerStart':
: undefined reference to `__errno_location'
job.o(.text+0x339e): In function `Job_TokenWithdraw':
: undefined reference to `__errno_location'
main.o(.text+0x106): In function `MainParseArgs':
: undefined reference to `stderr'
main.o(.text+0x338): In function `MainParseArgs':
: undefined reference to `stderr'
main.o(.text+0x3c5): In function `MainParseArgs':
: undefined reference to `__strtol_internal'
main.o(.text+0x568): In function `MainParseArgs':
: undefined reference to `stderr'
main.o(.text+0x69f): In function `chdir_verify_path':
: undefined reference to `__xstat'
main.o(.text+0x6fe): In function `chdir_verify_path':
: undefined reference to `__errno_location'
main.o(.text+0x716): In function `chdir_verify_path':
: undefined reference to `stderr'
main.o(.text+0x7ff): In function `main':
: undefined reference to `__xstat'
main.o(.text+0x10c6): In function `main':
: undefined reference to `__strdup'
main.o(.text+0x11e1): In function `main':
: undefined reference to `__errno_location'
main.o(.text+0x11fe): In function `main':
: undefined reference to `stderr'
main.o(.text+0x1218): In function `main':
: undefined reference to `__xstat'
main.o(.text+0x1271): In function `main':
: undefined reference to `__errno_location'
main.o(.text+0x1293): In function `main':
: undefined reference to `stderr'
main.o(.text+0x12a8): In function `main':
: undefined reference to `__errno_location'
main.o(.text+0x1485): In function `ReadMakefile':
: undefined reference to `stdin'
main.o(.text+0x16e8): In function `Check_Cwd_av':
: undefined reference to `stderr'
main.o(.text+0x196d): In function `Cmd_Exec':
: undefined reference to `__errno_location'
main.o(.text+0x1aac): In function `Error':
: undefined reference to `stderr'
main.o(.text+0x1ac1): In function `Error':
: undefined reference to `stderr'
main.o(.text+0x1ace): In function `Error':
: undefined reference to `stderr'
main.o(.text+0x1adc): In function `Error':
: undefined reference to `stderr'
main.o(.text+0x1b0e): In function `Fatal':
: undefined reference to `stderr'
main.o(.text+0x1b1b): more undefined references to `stderr' follow
main.o(.text+0x1c6b): In function `estrdup':
: undefined reference to `__strdup'
main.o(.text+0x1cbb): In function `enomem':
: undefined reference to `__errno_location'
main.o(.text+0x1cd8): In function `enomem':
: undefined reference to `stderr'
: undefined reference to `stderr'
main.o(.text+0x1d02): In function `eunlink':
: undefined reference to `__lxstat'
main.o(.text+0x1d35): In function `eunlink':
: undefined reference to `__errno_location'
main.o(.text+0x1dad): In function `execError':
: undefined reference to `__errno_location'
main.o(.text+0x1e0f): In function `usage':
: undefined reference to `stderr'
parse.o(.text+0x79): In function `ParseVErrorInternal':
: undefined reference to `stderr'
parse.o(.text+0xd5): In function `ParseVErrorInternal':
: undefined reference to `stderr'
parse.o(.text+0xeb): In function `ParseVErrorInternal':
: undefined reference to `stderr'
parse.o(.text+0x105): In function `ParseVErrorInternal':
: undefined reference to `stderr'
parse.o(.text+0x112): more undefined references to `stderr' follow
parse.o(.text+0x45d): In function `ParseDoSrc':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x591): In function `ParseDoDependency':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x75e): In function `ParseDoDependency':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x7ec): In function `ParseDoDependency':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x84e): In function `ParseDoDependency':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x93e): more undefined references to `__ctype_b_loc' follow
parse.o(.text+0x1771): In function `Parse_FromString':
: undefined reference to `stderr'
parse.o(.text+0x17b8): In function `ParseTraditionalInclude':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x17f7): In function `ParseTraditionalInclude':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x227b): In function `Parse_File':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x22f2): In function `Parse_File':
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x233c): In function `Parse_File':
: undefined reference to `__ctype_b_loc'
: undefined reference to `__ctype_b_loc'
parse.o(.text+0x2364): more undefined references to `__ctype_b_loc' follow
parse.o(.text+0x257a): In function `Parse_File':
: undefined reference to `stderr'
parse.o(.text+0x265d): In function `ParseMark':
: undefined reference to `__strdup'
sigcompat.o(.text+0xc0): In function `sigsetmask':
: undefined reference to `__assert_fail'
sigcompat.o(.text+0x158): In function `sigblock':
: undefined reference to `__assert_fail'
sigcompat.o(.text+0x1af): In function `sigpause':
: undefined reference to `__assert_fail'
suff.o(.text+0x1f60): In function `SuffPrintSuff':
: undefined reference to `stdout'
suff.o(.text+0x1f8d): In function `SuffPrintSuff':
: undefined reference to `stdout'
suff.o(.text+0x1fba): In function `SuffPrintSuff':
: undefined reference to `stdout'
suff.o(.text+0x1fde): In function `SuffPrintSuff':
: undefined reference to `stdout'
suff.o(.text+0x1ff6): In function `SuffPrintSuff':
: undefined reference to `stdout'
suff.o(.text+0x2042): more undefined references to `stdout' follow
var.o(.text+0x165): In function `VarFind':
: undefined reference to `__ctype_b_loc'
var.o(.text+0x125d): In function `VarRESubstitute':
: undefined reference to `__ctype_b_loc'
var.o(.text+0x2408): In function `Var_Parse':
: undefined reference to `__strdup'
var.o(.text+0x296d): In function `Var_Parse':
: undefined reference to `__strdup'
var.o(.text+0x2ba7): In function `Var_Parse':
: undefined reference to `__strdup'
var.o(.text+0x327a): In function `Var_Parse':
: undefined reference to `__ctype_b_loc'



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail