help-vcdimager
[Top][All Lists]
Advanced

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

Re: [VCDImager] compiling vcdimager on openbsd


From: Herbert Valerio Riedel
Subject: Re: [VCDImager] compiling vcdimager on openbsd
Date: Mon, 16 Apr 2001 16:47:30 +0200 (CEST)

well, that compile error is due to a missing #include <stat.h> in
vcdimager.c

it's already fixed in cvs (be sure to get the rel_0_6_branch branchtag);

well... and if make fails, try gmake (it's a known issue, where make !=
GNU make)

On Mon, 16 Apr 2001, Hannu Liljemark wrote:

> i'm trying to build vcdimager 0.6 on a openbsd 2.8 box, and get some
> rather annoying errors :)
>
> --snapsnap--
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./popt/ -I ../../libvcd/    -g -O2 
> -Wall -Wunused  -Wall -Wmissing-prototypes -Wunused -Wpointer-arith 
> -Wwrite-strings -c vcdimager.c
> vcdimager.c: In function `_add_dir':
> vcdimager.c:182: storage size of `st' isn't known
> vcdimager.c:196: warning: implicit declaration of function `stat'
> vcdimager.c:199: warning: implicit declaration of function `S_ISDIR'
> vcdimager.c:204: warning: implicit declaration of function `S_ISREG'
> vcdimager.c:182: warning: unused variable `st'
> *** Error code 1
>
> Stop in /pub/tools/vcdimager-0.6.0/frontends/cli.
> *** Error code 1
>
> Stop in /pub/tools/vcdimager-0.6.0/frontends/cli (line 470 of Makefile).
> *** Error code 1
>
> Stop in /pub/tools/vcdimager-0.6.0/frontends (line 163 of Makefile).
> *** Error code 1
>
> Stop in /pub/tools/vcdimager-0.6.0 (line 199 of Makefile).
> *** Error code 1
>
> Stop in /pub/tools/vcdimager-0.6.0 (line 328 of Makefile).
>
> --snapsnap--
>
> the part of the Makefile where things fall apart seems to be:
>
> --snapsnap--
>
> all-recursive install-data-recursive install-exec-recursive \
> installdirs-recursive install-recursive uninstall-recursive  \
> check-recursive installcheck-recursive info-recursive dvi-recursive:
>         @set fnord $(MAKEFLAGS); amf=$$2; \
>         dot_seen=no; \
>         target=`echo $@ | sed s/-recursive//`; \
>         list='$(SUBDIRS)'; for subdir in $$list; do \
>           echo "Making $$target in $$subdir"; \
>           if test "$$subdir" = "."; then \
>             dot_seen=yes; \
>             local_target="$$target-am"; \
>           else \
>             local_target="$$target"; \
>           fi; \
>           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
>            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; 
> \
>         done; \
>         if test "$$dot_seen" = "no"; then \
>           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
>         fi; test -z "$$fail"
>
> --snapsnap--
>
> is it just my lameness that the sucker won't build? :) works fine on
> linux... but that you probably already know.
>
> mucho thanks for all the help. would be nice to find some use for the
> cdrom drive on the bsd box.
>
>

-- 
Herbert Valerio Riedel      /     Finger address@hidden for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142




reply via email to

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