After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 468114 - Compile errors w/ native compiler on HP-UX 11i1
Compile errors w/ native compiler on HP-UX 11i1
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.2
Other HP-UX
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-19 04:05 UTC by Ian Munro
Modified: 2007-10-28 13:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Ian Munro 2007-08-19 04:05:56 UTC
Please describe the problem:
Making all in libpostproc
gmake[7]: Entering directory `/work/build/gst-ffmpeg-0.10.2/gst-libs/ext/ffmpeg/libpostproc'
/opt/TWWfsw/sbutils12/lib/aux/bash/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../libavutil -I../libavcodec  -fomit-frame-pointer  -I/opt/TWWfsw/libgst010/include -I/opt/TWWfsw/libcheck/include -I/opt/TWWfsw/libglib212/include -I/opt/TWWfsw/liboil03/include -I/opt/TWWfsw/libxml26/include -I/opt/TWWfsw/zlib11/include   -g -z +O2 -Ae -c -o postprocess.lo postprocess.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I../libavutil -I../libavcodec -fomit-frame-pointer -I/opt/TWWfsw/libgst010/include -I/opt/TWWfsw/libcheck/include -I/opt/TWWfsw/libglib212/include -I/opt/TWWfsw/liboil03/include -I/opt/TWWfsw/libxml26/include -I/opt/TWWfsw/zlib11/include -g -z +O2 -Ae -c postprocess.c  +Z -DPIC -o .libs/postprocess.o
cc: warning 422: Unknown option "fomit-frame-pointer" ignored.
cpp: "postprocess.c", line 103: warning 2001: Redefinition of macro MIN.
cpp: "postprocess.c", line 104: warning 2001: Redefinition of macro MAX.
cc: "postprocess_internal.h", line 72: error 1000: Unexpected symbol: "int".
cc: "postprocess_internal.h", line 127: error 1000: Unexpected symbol: "8".
cc: "postprocess_internal.h", line 128: error 1000: Unexpected symbol: "8".
cc: "postprocess_internal.h", line 140: error 1000: Unexpected symbol: "8".
cc: "postprocess_internal.h", line 141: error 1000: Unexpected symbol: "8".
cc: "postprocess_internal.h", line 143: error 1000: Unexpected symbol: "8".
cc: "postprocess_internal.h", line 144: error 1000: Unexpected symbol: "8".
cc: "postprocess_internal.h", line 167: error 1000: Unexpected symbol: "void".
cc: "postprocess_internal.h", line 127: error 1670: Illegal attribute aligned specified.
cc: "postprocess_internal.h", line 128: error 1670: Illegal attribute aligned specified.
cc: "postprocess_internal.h", line 140: error 1670: Illegal attribute aligned specified.
cc: "postprocess_internal.h", line 141: error 1670: Illegal attribute aligned specified.
cc: "postprocess_internal.h", line 143: error 1670: Illegal attribute aligned specified.
cc: "postprocess_internal.h", line 144: error 1670: Illegal attribute aligned specified.
cc: "postprocess_internal.h", line 167: error 1586: Redefinition of function "inline".
cc: "postprocess_internal.h", line 167: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_internal.h", line 172: error 1539: Cannot do arithmetic with pointers to objects of unknown size.
cc: "postprocess_internal.h", line 172: warning 563: Argument #1 is not the correct type.
cc: "postprocess_internal.h", line 172: error 1539: Cannot do arithmetic with pointers to objects of unknown size.
cc: "postprocess_internal.h", line 172: warning 563: Argument #2 is not the correct type.
cc: "postprocess_internal.h", line 172: warning 527: Integral value implicitly converted to pointer in assignment.
cc: "postprocess_internal.h", line 172: warning 563: Argument #3 is not the correct type.
cc: "postprocess.c", line 210: error 1000: Unexpected symbol: "int".
cc: "postprocess.c", line 210: error 1669: Illegal version declaration for "inline".
cc: "postprocess.c", line 210: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 210: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess.c", line 234: error 1000: Unexpected symbol: "int".
cc: "postprocess.c", line 234: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 256: error 1000: Unexpected symbol: "int".
cc: "postprocess.c", line 256: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 256: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess.c", line 279: error 1000: Unexpected symbol: "int".
cc: "postprocess.c", line 279: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 320: error 1000: Unexpected symbol: "int".
cc: "postprocess.c", line 320: error 1669: Illegal version declaration for "inline".
cc: "postprocess.c", line 320: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 320: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess.c", line 331: error 1000: Unexpected symbol: "int".
cc: "postprocess.c", line 331: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 342: error 1000: Unexpected symbol: "void".
cc: "postprocess.c", line 342: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 383: error 1000: Unexpected symbol: "void".
cc: "postprocess.c", line 383: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 424: error 1000: Unexpected symbol: "void".
cc: "postprocess.c", line 424: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 424: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess.c", line 485: error 1000: Unexpected symbol: "void".
cc: "postprocess.c", line 485: error 1669: Illegal version declaration for "inline".
cc: "postprocess.c", line 485: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 485: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 196: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 196: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 196: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 482: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 482: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 611: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 611: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1183: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1183: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1549: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1549: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1549: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 1602: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1602: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1667: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1667: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1667: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 1747: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1747: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1747: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 1849: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1849: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1849: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 1950: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 1950: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 1950: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 2238: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 2238: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 2238: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 3191: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 3191: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 3191: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 3322: error 1000: Unexpected symbol: "void".
cc: "postprocess_template.c", line 3322: error 1586: Redefinition of function "inline".
cc: "postprocess_template.c", line 3322: error 1711: Inconsistent parameter list declaration for "inline".
cc: "postprocess_template.c", line 3351: error 1000: Unexpected symbol: "8".
cc: "postprocess_template.c", line 3351: error 1670: Illegal attribute aligned specified.
cc: "postprocess.c", line 670: error 1000: Unexpected symbol: "void".
cc: "postprocess.c", line 670: error 1586: Redefinition of function "inline".
cc: "postprocess.c", line 670: error 1711: Inconsistent parameter list declaration for "inline".
gmake[7]: *** [postprocess.lo] Error 1
gmake[7]: Leaving directory `/work/build/gst-ffmpeg-0.10.2/gst-libs/ext/ffmpeg/libpostproc'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/work/build/gst-ffmpeg-0.10.2/gst-libs/ext/ffmpeg'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory `/work/build/gst-ffmpeg-0.10.2/gst-libs/ext/ffmpeg'
gmake[4]: *** [all-local] Error 2
gmake[4]: Leaving directory `/work/build/gst-ffmpeg-0.10.2/gst-libs/ext'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/work/build/gst-ffmpeg-0.10.2/gst-libs/ext'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/work/build/gst-ffmpeg-0.10.2/gst-libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/work/build/gst-ffmpeg-0.10.2'
gmake: *** [all] Error 2
      error: error executing script

The inlines I can deal with, but I can't figure out the 'illegal attribute aligned specified. The offending code is as follows:

typedef struct PPContext{
        uint8_t *tempBlocks; ///<used for the horizontal code

        /**
         * luma histogram.
         * we need 64bit here otherwise we'll going to have a problem
         * after watching a black picture for 5 hours
         */
        uint64_t *yHistogram;

        uint64_t __attribute__((aligned(8))) packedYOffset;
        uint64_t __attribute__((aligned(8))) packedYScale;



Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Tim-Philipp Müller 2007-09-08 20:05:41 UTC
Does upstream ffmpeg from SVN compile with HP-UX?

If not, I'd start there first.  I think we're unlikely to include lots of patches to get ffmpeg to work with exotic compilers like the HP-UX one until there is at least an upstream version that works with that compiler.  Until then, I think this is NOTGNOME.