Looks like all instances of -lc_r have to be replaced by -lpthread for 
proper compilation on OpenBSD.

Davide, can you fix this in the source tarball ? I'm sure the OpenBSD 
community will appreciate this ... :)

--Harald


Harald Schneider wrote:
> $ gmake -f Makefile.bsd OSTYPE=OpenBSD
> 
> g++  -O2 -I. -D__UNIX__ -D__BSD__ -D__OPENBSD__ -D_REENTRANT=1 
> -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c MkMachDep.cpp
> g++ -o bin/MkMachDep MkMachDep.o -lkvm -pthread -lc_r
> /usr/bin/ld: cannot find -lc_r
> collect2: ld returned 1 exit status
> gmake: *** [bin/MkMachDep] Error 1
> 
> ----
> 
> Any hints ?
> 
> --Harald
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 
> 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to