Home of the Squeezebox™ & Transporter® network music players.
Page 32 of 32 FirstFirst ... 22303132
Results 311 to 318 of 318
  1. #311
    Junior Member
    Join Date
    Oct 2010
    Posts
    27
    Hello,

    thanks for writing squeezeslave.
    I'm trying to compile it on ubuntu, but get an error:
    Code:
    configure: error: in `/root/squeezeslave/squeezeslave/lib/libportaudio/lnx26/build/portaudio':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** [lib/libportaudio/lnx26/lib/libportaudio.a] Error 77

    The config.log complains
    Code:
    configure:3328: gcc -DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -DPORTAUDIO_DEV -Wall -O2 -march=i686 -DIN
    TERACTIVE -DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -DPORTAUDIO_DEV -Wall -O2 -march=i686 -DINTERACTIVE
    -s conftest.c  >&5
    conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
    configure:3332: $? = 1
    configure:3370: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:3375: error: in `/root/squeezeslave/squeezeslave/lib/libportaudio/lnx26/build/portaudio':
    configure:3379: error: C compiler cannot create executables
    See `config.log' for more details.
    (complete log attached)

    That's odd, isn't it? It positively is a x86 64bit CPU...

    Greetings,
    Hendrik

  2. #312
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,159
    Quote Originally Posted by henfri View Post
    The config.log complains
    Code:
    configure:3328: gcc -DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -DPORTAUDIO_DEV -Wall -O2 -march=i686 -DIN
    TERACTIVE -DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -DPORTAUDIO_DEV -Wall -O2 -march=i686 -DINTERACTIVE
    -s conftest.c  >&5
    conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
    configure:3332: $? = 1
    configure:3370: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:3375: error: in `/root/squeezeslave/squeezeslave/lib/libportaudio/lnx26/build/portaudio':
    configure:3379: error: C compiler cannot create executables
    See `config.log' for more details.
    (complete log attached)

    That's odd, isn't it? It positively is a x86 64bit CPU...

    Greetings,
    Hendrik
    Looks like you are using the 32bit makefile.

    Try it with

    make -f makefile.linux26-i64-alsa-display realclean
    make -f makefile.linux26-i64-alsa-display
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  3. #313
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,159
    Quote Originally Posted by routerunner View Post
    Hi Ralph,

    I've updated with the latest code from the head of SVN and made a makefile to compile for Linux 2.4.26 armv4 with a quite old version of GCC 2.95.3 and I found a couple of bugs:

    1) Vorbis v1.3.2 the "os.h" line 41 the conditional compilation should add a test for __GNUC__ as well.

    2) ps_unix_oss.c at line 38 it doesn't compile with the version of compiler I'm using, so I changed in a more generic way as follow:

    #ifdef __FREEBSD__
    #include <sys/soundcard.h>
    #else
    #include <linux/soundcard.h> /* JH20010905 */
    #endif

    Also, I cannot daemonize the player in Linux 2.4.26, but works fine in Linux 2.6.30 and 2.6.33-5, any clues?

    thanks and keep up the good work
    Eddy
    The empeg version of squeezeslave uses gcc 2.95.3 and we don't encounter those errors.

    For the ARM processor you should be using the tremor decoder instead of vorbis.

    contrib/makefile.linux26-armel-nofpu-oss-display should be the closest to what will work. You should only need to change 2 lines.

    Line 3

    Code:
    OS=lnx26
    
    to
    
    OS=lnx24
    Line 11

    Code:
    CFLAGS=-DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -DNO_FPU -Wall -O2
    
    to
    
    CFLAGS=-DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DNO_FPU -Wall -O3 -march=armv4
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  4. #314
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,159
    New stable version 1.2-311 released.

    Please use the new support thread going forward.

    Thanks.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  5. #315
    Junior Member
    Join Date
    Oct 2010
    Posts
    27
    Quote Originally Posted by ralphy View Post
    Looks like you are using the 32bit makefile.
    Oh dear. Thanks!
    My last make commands are from the pure 32 bit aera.
    I'll try.

    Thanks,
    Hendrik

  6. #316
    Senior Member Lestrad's Avatar
    Join Date
    Oct 2010
    Posts
    273

    Noob question

    Believe me, I hate being as ignorant as I am, but could someone give me an idea of what the command line would look like to play a specific song? My LMS and music collection are installed on a NAS and I'm running Windows 7.

    TIA

  7. #317
    Member
    Join Date
    Feb 2011
    Location
    Tulsa, Oklahoma
    Posts
    55
    Quote Originally Posted by Lestrad View Post
    Believe me, I hate being as ignorant as I am, but could someone give me an idea of what the command line would look like to play a specific song? My LMS and music collection are installed on a NAS and I'm running Windows 7.

    TIA
    Point your favorite browser to http://<INSERT YOUR NAS ADDRESS HERE>:9000
    (Example: http://172.16.0.2:9000)

  8. #318
    Senior Member Lestrad's Avatar
    Join Date
    Oct 2010
    Posts
    273
    Quote Originally Posted by wilbert-vb View Post
    Point your favorite browser to http://<INSERT YOUR NAS ADDRESS HERE>:9000
    (Example: http://172.16.0.2:9000)
    Great, thanks. But what I'm trying to do is send a command from Foobar 2000 or from Windows Explorer to play the selected files using Squeezeslave, as I now do with SqueezePlay (which has no command-line interface). I'd like to be able to do it without opening Logitech Media Server in the browser and manually selecting files. Any ideas?

    Thanks again
    Les

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •