[LAD] jackmixdesk undefined references

2012-04-19 Thread Ulrich-Lorenz Schlüter
Hello there.

Can these files be a reason for undefined references when compiling?
I have to compile them into the binary, because phat from svn makes
problems.

configure.ac

 dnl Require autoconf version = 2.57
 AC_PREREQ(2.57)

 dnl # Initialization

 AC_INIT([jackmixdesk], [0.4], [audio-mobs...@gmx.de])

 AC_CONFIG_SRCDIR([mixdesk.c])
 AC_CANONICAL_SYSTEM

 dnl Version 1.7 of automake is recommended
 AM_INIT_AUTOMAKE([1.7])
 AM_CONFIG_HEADER([config.h])


 dnl # Compiler and tools Checks

 AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_C_INLINE


 dnl ## Library Checks

 AC_CHECK_LIB([m], [sqrt], , [AC_MSG_ERROR(Can't find libm)])
 AC_CHECK_LIB([m], [powf])

 # Check for libjack (need 0.100.0 for jack_client_open)
 PKG_CHECK_MODULES(JACK, jack = 0.100.0)

 # Check for liblash
 PKG_CHECK_MODULES(LASH, lash-1.0)

 # Check for liblo
 PKG_CHECK_MODULES(LO, liblo = 0.23)

 # Check for libxml2
 PKG_CHECK_MODULES(XML2, libxml-2.0 = 2.6.27)

 # Check for GTK 2.0
 PKG_CHECK_MODULES(GTK, gtk+-2.0, HAVE_GTK=Yes, HAVE_GTK=No)

 # Check for libX11
 PKG_CHECK_MODULES(X11, x11, HAVE_X11=Yes, HAVE_X11=No)

 # Check for libgnomecanvas
 PKG_CHECK_MODULES(LIBGNOMECANVAS, libgnomecanvas-2.0,
 HAVE_LIBGNOMECANVAS=Yes, HAVE_LIBGNOMECANVAS=No)

 # Check for libidn
 PKG_CHECK_MODULES(IDN, libidn, HAVE_IDN=Yes, HAVE_IDN=No)


 dnl ## Decide what to build

 BUILD_PROGRAMS=jackmixdesk

 if test x$HAVE_GTK == xYes
test x$HAVE_LIBGNOMECANVAS == xYes
test x$HAVE_IDN == xYes
test x$HAVE_X11 == xYes
 then
 BUILD_PROGRAMS=$BUILD_PROGRAMS jackmixdesk_gtk
 else
 AC_MSG_WARN([Not building GTK frontend due to missing libraries])
 fi  

 AC_SUBST(BUILD_PROGRAMS)



 dnl ## Header Checks

 AC_HEADER_STDC
 AC_CHECK_HEADERS([stdlib.h string.h strings.h sys/time.h unistd.h])

 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_C_INLINE
 AC_TYPE_SIZE_T
 AC_TYPE_SIGNAL

 # Checks for library functions.
 AC_FUNC_MALLOC

 AC_CONFIG_FILES([Makefile])

 AC_OUTPUT
Makefile.am

 AUTOMAKE_OPTIONS = foreign

 bin_PROGRAMS = @BUILD_PROGRAMS@
 EXTRA_PROGRAMS = jackmixdesk jackmixdesk_gtk

 jackmixdesk_SOURCES = mixdesk.c db.h

 jackmixdesk_CFLAGS = -Wall -O2 @JACK_CFLAGS@ @LASH_CFLAGS@ @LO_CFLAGS@
 @XML2_CFLAGS@

 jackmixdesk_LDFLAGS = -lm @JACK_LIBS@ @LASH_LIBS@ @LO_LIBS@ @XML2_LIBS@

 jackmixdesk_gtk_SOURCES = config.h phatknob.h phatknob.c \
 phatvfanslider.c phathfanslider.c \
 phatkeyboard.c phatpad.h phatvkeyboard.h phatkeyboard.h  phatprivate.h \
 phathfanslider.h  phathkeyboard.c phatprivate.c  phatfanslider.h\
 phathkeyboard.h phatpad.c phatvfanslider.h mixdesk_gtk.c

 jackmixdesk_gtk_CFLAGS = -Wall -O2 @JACK_CFLAGS@ @IDN_CFLAGS@
 @LO_CFLAGS@ \
 @GTK_CFLAGS@ @LIBGNOMECANVAS_CFLAGS@ @LASH_CFLAGS@ @XML2_CFLAGS@
 @X11_CFLAGS@ -DINSTALL_DIR=\$(datadir)\

 jackmixdesk_gtk_LDFLAGS = -lm @JACK_LIBS@ @IDN_LIBS@ @LO_LIBS@
 @GTK_LIBS@ @X11_LIBS@ @LIBGNOMECANVAS_LIBS@ @LASH_LIBS@ @XML2_LIBS@

 pixmapdir =$(datadir)/$(PACKAGE)/pixmaps
 pixmap_DATA = knob.png

 licensedir =$(datadir)/doc/$(PACKAGE)-$(VERSION)
 license_DATA = COPYING

 readmedir =$(datadir)/doc/$(PACKAGE)-$(VERSION)
 readme_DATA = README

 svgdiagramdir =$(datadir)/doc/$(PACKAGE)-$(VERSION)
 svgdiagram_DATA = jackmixdesk.svg

 pngdiagramdir =$(datadir)/doc/$(PACKAGE)-$(VERSION)
 pngdiagram_DATA = jackmixdesk.png

 tododir =$(datadir)/doc/$(PACKAGE)-$(VERSION)
 todo_DATA = TODO

 EXTRA_DIST = autogen.sh TODO doc/jackmixdesk.svg
mixdesk_gtk.c

 #include phatfanslider.h
 #include phatvfanslider.h
 #include phathfanslider.h
console

 /home/uli/workspace/jackmixdesk/trunk/mixdesk_gtk.c:2859: undefined
 reference to `phat_fan_slider_set_value'
Thanks a lot

Uli






___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] jackmixdesk undefined references

2012-04-19 Thread Emanuel Rumpf
Am 19. April 2012 14:41 schrieb Ulrich-Lorenz Schlüter audio-mobs...@gmx.de:

 /home/uli/workspace/jackmixdesk/trunk/mixdesk_gtk.c:2859: undefined
 reference to `phat_fan_slider_set_value'


install libphat-dev package (if ubuntu)

post output of

ls /usr/lib/libph*
ls /usr/lib/x86_64-linux-gnu/libph*

cat /etc/ld.so.conf
cat /etc/ld.so.conf.d/*

-- 
E.R.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] jackmixdesk undefined references

2012-04-19 Thread Ulrich-Lorenz Schlüter

Am 19.04.2012 18:05, schrieb Emanuel Rumpf:
 Am 19. April 2012 14:41 schrieb Ulrich-Lorenz Schlüter audio-mobs...@gmx.de:
 /home/uli/workspace/jackmixdesk/trunk/mixdesk_gtk.c:2859: undefined
 reference to `phat_fan_slider_set_value'

 install libphat-dev package (if ubuntu)

 post output of

 ls /usr/lib/libph*
 ls /usr/lib/x86_64-linux-gnu/libph*

 cat /etc/ld.so.conf
 cat /etc/ld.so.conf.d/*

I need a resizeable phat knob for my project, jackmixdesk. I want to
make my this project available for all users without fumbling, so I
don't want a dependency on the development package of phat. Phat dev is
even uninstallable for gentoo right now.

With best regards

Uli

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] jackmixdesk undefined references

2012-04-19 Thread Nick Lanham

If you want a separated knob based on phatknob check out nknob from drmr:

https://github.com/nicklan/drmr/blob/master/nknob.c
https://github.com/nicklan/drmr/blob/master/nknob.h

Not re-sizable, but might be a better starting point for you.

Regards,
-Nick




On 04/19/2012 07:09 PM, Ulrich-Lorenz Schlüter wrote:

Am 19.04.2012 18:05, schrieb Emanuel Rumpf:

Am 19. April 2012 14:41 schrieb Ulrich-Lorenz Schlüteraudio-mobs...@gmx.de:

/home/uli/workspace/jackmixdesk/trunk/mixdesk_gtk.c:2859: undefined
reference to `phat_fan_slider_set_value'


install libphat-dev package (if ubuntu)

post output of

ls /usr/lib/libph*
ls /usr/lib/x86_64-linux-gnu/libph*

cat /etc/ld.so.conf
cat /etc/ld.so.conf.d/*


I need a resizeable phat knob for my project, jackmixdesk. I want to
make my this project available for all users without fumbling, so I
don't want a dependency on the development package of phat. Phat dev is
even uninstallable for gentoo right now.

With best regards

Uli

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] jackmixdesk undefined references

2012-04-19 Thread Adrian Knoth
On Thu, Apr 19, 2012 at 07:09:52PM +0200, Ulrich-Lorenz Schlüter wrote:

  install libphat-dev package (if ubuntu)
 
  post output of
 
  ls /usr/lib/libph*
  ls /usr/lib/x86_64-linux-gnu/libph*
 
  cat /etc/ld.so.conf
  cat /etc/ld.so.conf.d/*
 
 I need a resizeable phat knob for my project, jackmixdesk.

Glad you mention this. Right after posting the same mail three times in
a row. ;)

 I want to make my this project available for all users without
 fumbling, so I don't want a dependency on the development package of
 phat.

Speaking with my Debian hat on, I suggest you simply specify any
external requirements in the README and trust the distribution to get it
right.

The other approach is to use an embedded copy of phat, but we (Debian)
usually don't like this approach and would probably strip it anyway.

There are pros and cons to embedded copies:

   + known to work
   + easy installation, since self-contained

   - increased memory footprint
   - additional maintenance overhead (e.g., security fixes)



 Phat dev is even uninstallable for gentoo right now.

Tell them, and they'll fix it. If nobody knows about this, it would
remain broken forever.



Just my €0.02

-- 
mail: a...@thur.de  http://adi.thur.de  PGP/GPG: key via keyserver

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] jackmixdesk undefined references

2012-04-19 Thread Ulrich-Lorenz Schlüter
Am 19.04.2012 19:32, schrieb Adrian Knoth:
 On Thu, Apr 19, 2012 at 07:09:52PM +0200, Ulrich-Lorenz Schlüter wrote:

 install libphat-dev package (if ubuntu)

 post output of

 ls /usr/lib/libph*
 ls /usr/lib/x86_64-linux-gnu/libph*

 cat /etc/ld.so.conf
 cat /etc/ld.so.conf.d/*

 I need a resizeable phat knob for my project, jackmixdesk.
 Glad you mention this. Right after posting the same mail three times in
 a row. ;)

 I want to make my this project available for all users without
 fumbling, so I don't want a dependency on the development package of
 phat.
 Speaking with my Debian hat on, I suggest you simply specify any
 external requirements in the README and trust the distribution to get it
 right.

 The other approach is to use an embedded copy of phat, but we (Debian)
 usually don't like this approach and would probably strip it anyway.

 There are pros and cons to embedded copies:

+ known to work
+ easy installation, since self-contained

- increased memory footprint
- additional maintenance overhead (e.g., security fixes)



 Phat dev is even uninstallable for gentoo right now.
 Tell them, and they'll fix it. If nobody knows about this, it would
 remain broken forever.



 Just my €0.02

Really sorry for that triple post. I did not receive my first two mails
back from the list, only a message rejected and really really had some
impatience.

I reported the phat problem at Gentoo bugzilla because it's an ebuild
bug afaik, it was closed as invalid and I was told, this is not a
support forum. From the pro-audio list there is no response. Okay wrong
order, list first then bugzilla!

Shouldn't be such a problem to see if there is something wrong with my
build system for someone who's more common with autogen than me.

Sincerely

Uli

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] jackmixdesk undefined references

2012-04-19 Thread Ulrich-Lorenz Schlüter
Sorry I need this resizeable knob as I already used it before. The
layout of the mixer client gets unusable without that resize stuff.

Thanks
Uli

Am 19.04.2012 19:29, schrieb Nick Lanham:
 If you want a separated knob based on phatknob check out nknob from drmr:

 https://github.com/nicklan/drmr/blob/master/nknob.c
 https://github.com/nicklan/drmr/blob/master/nknob.h

 Not re-sizable, but might be a better starting point for you.

 Regards,
 -Nick




 On 04/19/2012 07:09 PM, Ulrich-Lorenz Schlüter wrote:
 Am 19.04.2012 18:05, schrieb Emanuel Rumpf:
 Am 19. April 2012 14:41 schrieb Ulrich-Lorenz
 Schlüteraudio-mobs...@gmx.de:
 /home/uli/workspace/jackmixdesk/trunk/mixdesk_gtk.c:2859: undefined
 reference to `phat_fan_slider_set_value'

 install libphat-dev package (if ubuntu)

 post output of

 ls /usr/lib/libph*
 ls /usr/lib/x86_64-linux-gnu/libph*

 cat /etc/ld.so.conf
 cat /etc/ld.so.conf.d/*

 I need a resizeable phat knob for my project, jackmixdesk. I want to
 make my this project available for all users without fumbling, so I
 don't want a dependency on the development package of phat. Phat dev is
 even uninstallable for gentoo right now.

 With best regards

 Uli

 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev
 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/listinfo/linux-audio-dev

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev