mpg123 (Under construction)

mpg123 - play audio MPEG 1.0/2.0 file (layers 1, 2 and 3)

Compilation

V0.59

As described in INSTALL
  1. Adapt the Makefile for platform/compiler specifics, e.g.
    PREFIX=/tmp/mpg123-0.59r/
    
  2. HP-UX has no setlinebuf(). In control_generic.c Adapt:
    #if defined(__hpux__)
            (void) setvbuf (stdout, NULL, _IOLBF, 0);
    #else
            setlinebuf(stdout);
    #endif  
    
  3. make hpux-gcc  # for HP-UX w/ gcc
    make install
    

V1.13.4

       # HP-UX 10.20, native cc
./configure CC=cc  CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" --with-default-audio=hp --enable-static --disable-shared --prefix=/tmp/mpg123-1.13.4       
gives
cc: "hp.c", line 38: error 1588: "MPG123_ENC_LINEAR16BIT" undefined.
cc: "hp.c", line 47: error 1588: "MPG123_ENC_ALAW" undefined.
cc: "hp.c", line 50: error 1588: "MPG123_ENC_ULAW" undefined.
cc: "hp.c", line 64: error 1588: "ai" undefined.
cc: "hp.c", line 64: warning 563: Argument #1 is not the correct type.
cc: "hp.c", line 131: error 1588: "ai" undefined.
cc: "hp.c", line 131: warning 563: Argument #1 is not the correct type.
cc: "hp.c", line 164: error 1588: "get_formats_hp" undefined.
*** Error exit code 1
:-((
Last update: 10-Feb-2012, M.Kraemer

Impressum Data privacy protection