Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 11:33:12 -0500
From:      Gerard Seibert <gerard@seibercom.net>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Unable to build jackit-0.102.20
Message-ID:  <20061214112530.D5F8.GERARD@seibercom.net>
In-Reply-To: <458174DF.9030905@raxion.net>
References:  <20061208172444.B85F.GERARD@seibercom.net> <458174DF.9030905@raxion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday December 14, 2006 at 10:59:27 (AM) Kay Abendroth wrote:


> Gerard Seibert wrote:
> > On Friday December 08, 2006 at 08:50:36 (AM) Kay Abendroth wrote:
> > 
> > 
> >> Could you comment all compiler flags you set in /etc/make.conf and rerun
> >> the build? Please post your build-log again after that if sth. changes.
> > 
> > The only global setting in the /etc/make.conf file is:
> > 
> > 	NO_PROFILE=true
> > 	CFLAGS=-pipe
> > 
> > I do have a couple of other settings, but they are nested
> > 
> > 	.if
> > 	mumble
> > 	.endif
> > 
> > I fail to see how that might effect it. Besides, they were present when
> > I first installed my system.
> > 
> > Anyway, I will give it a try tomorrow. I don't have time this evening.
> > 
> 
> 
> I saw this in your build log:
> [...]
> creating jackd
> echo "#define JACKD_MD5_SUM \"`md5sum .libs/jackd | awk '{print $1}'`\""
> > jack_md5.h
> md5sum: not found
> make  all-am
> [...]
> 
> I've check that on my machine I don't get this error and I have a md5sum
> command installed (comes with the base system I guess).

Someone, the maintainer I think, supplied me with a patch that corrected
the problem. Simply place the patch in the ../jack/files directory and
the problem is gone. Apparently, this had something to do with the fact
that I did not have a: CFLAGS=0 setting in the /etc/make.conf file.


--- drivers/dummy/dummy_driver.c.orig	Sun Dec 10 16:31:55 2006
+++ drivers/dummy/dummy_driver.c	Sun Dec 10 16:32:27 2006
@@ -41,10 +41,11 @@
 /* this is used for calculate what counts as an xrun */
 #define PRETEND_BUFFER_SIZE 4096
 
+#define VIDEO_SYNC_PERIOD 48000 / 30
+
 void
 FakeVideoSync( dummy_driver_t *driver )
 {
-        static const int VIDEO_SYNC_PERIOD = 48000 / 30;
         static int vidCounter = VIDEO_SYNC_PERIOD;
         
         int period = driver->period_size;


-- 
Gerard




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061214112530.D5F8.GERARD>