[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnustep base on NetBSD 4.0 i386
From: |
David Wetzel |
Subject: |
Re: gnustep base on NetBSD 4.0 i386 |
Date: |
Sat, 05 Jan 2008 12:48:37 +0100 |
Matt Rice wrote:
> adding -pthread on the gcc command line seems to fix it
Neither -lpthread nor -pthread works for me on intel...
Dave
address@hidden>gmake diningPhilosophers messages=yes
This is gnustep-make 2.0.3. Type 'make print-gnustep-make-help' for help.
Making all for test_tool diningPhilosophers...
cd .; \
/usr/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj
gcc diningPhilosophers.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -
DGNUSTEP_BASE_LIBRARY=1 -fPIC -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN
-
DGSDIAGNOSE -Wno-import -g -fno-strict-aliasing -fgnu-runtime -g
-fconstant-string-
class=NSConstantString -I../Headers/Additions -I../Source/. -I../Headers -I.
-I/usr/pkg/include -
I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/System/Library/Headers -
I/usr/pkg/include/libxml2 -I/Users/dave/GNUstep/Library/Headers -
I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers \
-o obj/diningPhilosophers.o
gcc -fgnu-runtime -o obj/diningPhilosophers \
./obj/diningPhilosophers.o \
-L../Source/./obj -L/Users/dave/GNUstep/Library/Libraries -
L/usr/GNUstep/Local/Library/Libraries -L/usr/GNUstep/System/Library/Libraries
-Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -L/usr/GNUstep/System/Library/Libraries -
L/usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu
-L/usr/GNUstep/System/Library/Libraries -
lpthread -lgnustep-base -lobjc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2
-lz -lm -lffi -lz -lm
address@hidden>gdb ./obj/diningPhilosophers
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
(gdb) r
Starting program:
/Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/diningPhilosophers
/Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/diningPhilosophers:
Uncaught
exception NSInternalInconsistencyException, reason: Unable to detach thread
(perhaps No such file or
directory)
Program received signal SIGABRT, Aborted.
0xbb61d22f in kill () from /usr/lib/libc.so.12