bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

should libstore be linked against libthreads.


From: James Morrison
Subject: should libstore be linked against libthreads.
Date: Sat, 1 Jun 2002 12:31:58 -0700 (PDT)

  Hi,

   I was having trouble compiling storeinfo, storecat, and storeread.  I was
getting the following error:
jim@lazarus:~/cvs/hurd/build/utils$ make storecat
gcc -O
-Wl,-rpath-link=.:../libdiskfs/:../libfshelp/:../libftpconn/:../libhurdbugaddr/:../libihash/:../libiohelp/:../libnetfs/:../libpager/:../libpipe/:../libports/:../libps/:../libshouldbeinlibc/:../libstore/:../libthreads/:../libtrivfs/
-Wall -g -O2     -uargp_program_bug_address -o storecat \
              storecat.o \
      '-Wl,-(' ../libhurdbugaddr/libhurdbugaddr.so ../libstore/libstore.so
../libshouldbeinlibc/libshouldbeinlibc.so \
                 \
      '-Wl,-)'   
../libstore/libstore.so: undefined reference to `cthread_stack_mask'
collect2: ld returned 1 exit status
make: *** [storecat] Error 1

  I added threads to HURDLIBS in libstore/Makefile and this fixes the problem.
I don't know why this has shown up now, but I think libstore should be linked
to libthreads since gunzip, part, and unzipstore all include <cthreads.h>.


=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

Anyone referring to this as 'Open Source' shall be eaten by a GNU

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]