Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    12

    Problems building LMS-7.8.0-1342011222-FreeBSD

    Hi,
    In parallel of my segfault problems while i launch LMS 7.7.2 (http://forums.slimdevices.com/showth...amd64-freebsd), I'm trying to start from scratch with LMS 7.8

    So my system is FreeNAS 8.2.0-RC1 in which i have a FreeBSD jail 8.2-RELEASE-p9
    Everything below is happening inside the jail.

    I've untared the logitechmediaserver-7.8.0-1342011222-FreeBSD.tgz package in /usr/local/

    When i launch slimserver.pl, i get "lots of modules can't be loaded"
    Normal, because the script is looking for them in CPAN/arch/5.14/amd64-freebsd/auto (since i'm running PERL 5.14.2)

    So in order to get nice x64 modules for my distrib, I went to http://svn.slimdevices.com/repos/sli...k/vendor/CPAN/, downloaded everything to /usr/local/tmp/CPAN-7.8/
    Made buildme.sh executable, and launched it.

    And here is the error I'm going to have some help on in order to build everything :

    Code:
    CC      libavcodec/vp56.o
    /var/tmp//ccKn9WGQ.s: Assembler messages:
    /var/tmp//ccKn9WGQ.s:597: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
    /var/tmp//ccKn9WGQ.s:1113: Error: `(%r8d,%edx)' is not a valid 64 bit base/index expression
    /var/tmp//ccKn9WGQ.s:1280: Error: `(%r8d,%edx)' is not a valid 64 bit base/index expression
    /var/tmp//ccKn9WGQ.s:1498: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
    /var/tmp//ccKn9WGQ.s:3664: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
    /var/tmp//ccKn9WGQ.s:3990: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
    gmake: *** [libavcodec/vp56.o] Error 1
    make failed
    Thanks in advance for anyone wanting to help me!

  2. #2
    Junior Member
    Join Date
    Sep 2010
    Posts
    12
    OK google was my friend, it explained me maybe i had this error because my gcc (2.4.1) was too old.
    I've upgraded to the latest fresh port (4.6.3) and everything compiled ok.

  3. #3
    Junior Member
    Join Date
    Apr 2009
    Posts
    8
    I trying the same, but can't get buildme.sh to use the newly installed gcc, even though I changed /etc/make.conf???
    How did you succeed?

  4. #4
    Senior Member pallfreeman's Avatar
    Join Date
    Apr 2010
    Location
    Squeezebox Graveyard
    Posts
    500
    /etc/make.conf is used by the FreeBSD build and ports systems, it's not looked at by GNU make (aka gmake).

    I managed to get past that problem by temporarily renaming cc and symlinking to gcc46, which compiles everything OK but croaks at the link stage (something about incompatible relocation types and to recompile with -fPIC, which everything already is).

    Using libavcodec from ffmpeg 0.11.1 (LMS has just got round to 0.8), you get a clean compile with stock GCC 4.2, but the linker problem persists, which hints that it's something odd in LMS, but I'm now in too deep for comfort.

    My 64-bit NAS is beefy enough to support a pure 32-bit jail, where I'd run perl 5.8 and use a nightly, if that were my only option. Or pick up a nearly-free PC and bung a headless Debian on it, NFS'ed to the NAS.

    Why'm I typing this? It's all terribly depressing.
    Don't push your love too far
    Your wounds won't leave a scar
    Right now is where you are
    In a broken dream.

  5. #5
    Junior Member
    Join Date
    Apr 2009
    Posts
    8
    Thanks for the help.

    I managed to start the compilation with gcc47, but then I run into exactly the same linker problem...bummer!

    Guess I will try a 32bit jail, as you do, don't really wanna set up a second machine.

    Thanks, I hoped it would work using a newer gcc.

  6. #6
    Junior Member
    Join Date
    Nov 2011
    Posts
    7

    Any pointers on setting up a 32-bit jail for LMS on Freebsd 9

    Quote Originally Posted by pallfreeman View Post
    My 64-bit NAS is beefy enough to support a pure 32-bit jail, where I'd run perl 5.8 and use a nightly, if that were my only option. Or pick up a nearly-free PC and bung a headless Debian on it, NFS'ed to the NAS.

    Why'm I typing this? It's all terribly depressing.
    Can you give me any pointers on setting up a 32-bit jail. I've followed all your work on installing newer versions but have had no success. I agree that it's very dispiriting that official 64-bit versions have not been forthcoming.

  7. #7
    Senior Member pallfreeman's Avatar
    Join Date
    Apr 2010
    Location
    Squeezebox Graveyard
    Posts
    500
    I'm afraid I've sort of jumped ship. I went the other route: a small, headless Debian installation. Which went so well I'm changing my "production" LMS this weekend.

    The FreeBSD-flavoured brainfart at http://www.xenopsyche.com/ip/lms/README is fairly recent, and there's a 64-bit in there which kinda works. Have you tried that?

    I'll probably be compelled to fiddle with the 64-bit FreeBSD stuff again at some point, but I don't know when.
    Don't push your love too far
    Your wounds won't leave a scar
    Right now is where you are
    In a broken dream.

  8. #8
    Junior Member
    Join Date
    Nov 2011
    Posts
    7
    Quote Originally Posted by pallfreeman View Post
    The FreeBSD-flavoured brainfart at http://www.xenopsyche.com/ip/lms/README is fairly recent, and there's a 64-bit in there which kinda works. Have you tried that?
    I've freebsd 9.0-release running at present with the squeezeboxserver from ports. I'd like a newer version of the server. Which of the archives at http://www.xenopsyche.com/ip/lms/ should I try? Is it okay to use logitechmediaserver-7.7.3-33978-perl-5.12.4-FreeBSD-8.3-STABLE-amd64.tgz even though it says 'Freebsd 8.3'?

    Basically I'd like any server after 7.6, whether squeezeboxserver or LMS.

  9. #9
    Senior Member pallfreeman's Avatar
    Join Date
    Apr 2010
    Location
    Squeezebox Graveyard
    Posts
    500
    Quote Originally Posted by Heeheehaha View Post
    Is it okay to use logitechmediaserver-7.7.3-33978-perl-5.12.4-FreeBSD-8.3-STABLE-amd64.tgz even though it says 'Freebsd 8.3'?
    Yes, but you'll also need to install the compat8x port.
    Basically I'd like any server after 7.6, whether squeezeboxserver or LMS.
    Both the 7.6 and 7.7 builds should work with compat8x. The "multimedia" and DLNA stuff is broken in 7.7.
    Don't push your love too far
    Your wounds won't leave a scar
    Right now is where you are
    In a broken dream.

  10. #10
    Junior Member
    Join Date
    Nov 2011
    Posts
    7

    Some more pointers needed

    Quote Originally Posted by pallfreeman View Post
    Yes, but you'll also need to install the compat8x port.

    Both the 7.6 and 7.7 builds should work with compat8x. The "multimedia" and DLNA stuff is broken in 7.7.
    Could you describe in more details the steps needed? I've tried installing a 7.7 and a 7.6 and both failed. 7.6 failed with:

    "Use of inherited AUTOLOAD for non-method YAML::Syck:umpYAML() is deprecated at /usr/local/squeezeboxserver/CPAN/YAML/Syck.pm line 65.
    The following modules failed to load: YAML::Syck"

    /.7 failed with:

    'The following modules failed to load: YAML::XS'

    Thanks, Stuart

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
  •