Unable to build jackit-0.102.20

Gerard Seibert gerard at seibercom.net
Thu Dec 14 08:33:25 PST 2006


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



More information about the freebsd-questions mailing list