[gstreamer-bugs] [Bug 468114] New: Compile errors w/ native compiler on HP-UX 11i1

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Aug 18 21:05:57 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=468114

  GStreamer | gst-ffmpeg | Ver: 0.10.2
           Summary: Compile errors w/ native compiler on HP-UX 11i1
           Product: GStreamer
           Version: 0.10.2
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: imunro at netspace.net.au
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


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:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=468114.




More information about the Gstreamer-bugs mailing list