Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in2.uu.net!usc!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!in2p3.fr!swidir.switch.ch!swsbe6.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!uni-regensburg.de!faui0n.informatik.uni-erlangen.de!uni-erlangen.de!news.th-darmstadt.de!odb!incom!kauss.rhein-main.de!kauss.rhein-main.d
e!not-for-mail
From: ska@kauss.rhein-main.de (Stephan Kauss)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: compile thread on FreeBSD 2.0
Date: 18 Nov 1995 17:18:20 +0100
Organization: Stephan Kauss
Lines: 44
Message-ID: <48l10c$13n@kauss.rhein-main.de>
NNTP-Posting-Host: kauss.rhein-main.de
Hi,
I have problems to compile the pthreads-1_60_beta2 packed from mit.edu on
FreeBSD.
The "as" say :
mkdir obj/syscalls
for syscall in open write read close fcntl dup2 dup pipe fchmod fchown execve
fstat link unlink chdir chown chmod stat rename select getdtablesize ioctl
ftruncate sigaction sigprocmask getdirentries wait4 socket bind connect
accept listen getsockopt setsockopt exit readv writev sendto sendmsg recvfrom
recvmsg getpeername getsockname shutdown getpgrp ; do \
echo $syscall ; \
gcc -I. -Iinclude -I/usr/ska/pthreads/include -DPTHREAD_KERNEL -DBSD
-Di486 -DFreeBSD -g -Werror -DSYSCALL_NAME=$syscall -c syscall-template.S
-o obj/syscalls/S$syscall.o ; \
true ; \
done
open
as: /var/tmp/cc007671.s:227: invalid character '_' in opcode
write
as: /var/tmp/cc007676.s:227: invalid character '_' in opcode
read
as: /var/tmp/cc007679.s:227: invalid character '_' in opcode
close
as: /var/tmp/cc007682.s:227: invalid character '_' in opcode
The mach dep. stuff view like this :
_machdep_sys_open
_machdep_sys_write
.
.
so it's seems to me that the "as" don't like the "_".
Any idea.
(I try to port HotJava so I need Thread's on FreeBSD)
Stephan