Opened 4 years ago

Last modified 4 years ago

#132 new defect

"DSO missing from command line" error on bootstrap

Reported by: habs Owned by:
Priority: minor Milestone:
Component: kBuild Version: 0.1.5
Keywords: bootstrap Cc: habs@…


I was running an up-to-date GuixSD and trying to bootstrap kBuild 0.1.5-p2 "Sources and everything" edition using these directions:

But when I run export KBUILD_PATH=/home/habs/builds/kBuild-0.1.5-p2/kBuild/; kBuild/ --full make -f bootstrap.gmk from the kBuild-0.1.5-p2 directory, I get this (abbreviated) error at the "kBuild: Linking kmk_append" step:

ld: incdep.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Here is the more complete relevant portion of the output:

What can I do to fix this? I've tried running the command as kBuild/ --full make CFLAGS='-lpthread' -f bootstrap.gmk, but it didn't yield any different results.

Attachments (1)

output.txt (9.9 KB) - added by habs 4 years ago.
kBuild bootstrap error output (relevant section only)

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by habs

Attachment: output.txt added

kBuild bootstrap error output (relevant section only)

comment:1 Changed 4 years ago by habs

Cc: habs@… added
Note: See TracTickets for help on using tickets.