Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Compile errors on OpenBSD 4.8

fsvs
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list

Compile errors on OpenBSD 4.8

Author froh
Full name Frode Haugsgjerd
Date 2011-06-22 10:36:34 PDT
Message Hi, I'm trying to compile fsvs on OpenBSD 4.8, and I have some problems. http://fsvs.tigris.org claims that this is reported to work, but all i can find is a thread from 2006 that don't answer my questions.

First some info about my setup.

OpenBSD 4.8
From obsd packages:
autoconf-2.60
GNU Make 3.81
pcre-8.02p1
apr-1.2.11p4
subversion-1.6.15p0
gdbm-1.8.3p0
rsync-3.0.7
gcc 4.2.1

To satisfy gcc i had to write #include <stdlib.h>
in /usr/include/alloca.h , as obsd dont have this header.

Then gcc complained about trampolines, and i added
CFLAGS += -ftrampolines
to src/Makefile.in

Now comilation fails on:
     CC est_ops.c
est_ops.c: In function 'ops__read_special_entry':
est_ops.c:1728: error: 'ENODATA' undeclared (first use in this function)
est_ops.c:1728: error: (Each undeclared identifier is reported only once
est_ops.c:1728: error: for each function it appears in.)
gmake[1]: *** [est_ops.o] Error 1
gmake: *** [default-target] Error 2

Can anyone provide some pointers to what i should try next? I guess the error suggests that some dependency is not satisfied, but I am not fluent in C so I'm lost at this point.

Best regards
Frode Haugsgjerd
Norway

« Previous message in topic | 1 of 11 | Next message in topic »

Messages

Show all messages in topic

Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-22 10:36:34 PDT
     Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-22 12:27:45 PDT
         RE: Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-22 12:58:29 PDT
     RE: Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-23 00:49:09 PDT
         RE: Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-23 17:24:36 PDT
             Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-25 00:04:48 PDT
                 Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-25 02:13:22 PDT
     Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-25 11:23:48 PDT
         Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-25 13:41:37 PDT
             Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-26 00:06:51 PDT
                 Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-26 04:05:32 PDT
Messages per page: