Opened 10 years ago

Closed 10 years ago

#1430 closed defect (invalid)

Compile fails with error in demux_nut.c

Reported by: sylvain@… Owned by: diego@…
Priority: important Component: build system
Version: HEAD Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Current SVN snapshot (21.03.09) fails to build with the following error:

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/opt/kde3/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -Ilibdvdread4 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o libmpdemux/demux_nut.o libmpdemux/demux_nut.c
libmpdemux/demux_nut.c:17: error: expected specifier-qualifier-list before 'nut_context_tt'
libmpdemux/demux_nut.c: In function 'demux_open_nut':
libmpdemux/demux_nut.c:67: error: 'nut_demuxer_opts_tt' undeclared (first use in this function)
libmpdemux/demux_nut.c:67: error: (Each undeclared identifier is reported only once
libmpdemux/demux_nut.c:67: error: for each function it appears in.)
libmpdemux/demux_nut.c:67: error: expected ';' before 'dopts'
libmpdemux/demux_nut.c:79: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_nut.c:80: error: 'nut_context_tt' undeclared (first use in this function)
libmpdemux/demux_nut.c:80: error: 'nut' undeclared (first use in this function)
libmpdemux/demux_nut.c:80: error: 'nut_priv_tt' has no member named 'nut'
libmpdemux/demux_nut.c:80: error: 'dopts' undeclared (first use in this function)
libmpdemux/demux_nut.c:81: error: 'nut_stream_header_tt' undeclared (first use in this function)
libmpdemux/demux_nut.c:81: error: 's' undeclared (first use in this function)
libmpdemux/demux_nut.c:82: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_nut.c:91: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c: In function 'demux_nut_fill_buffer':
libmpdemux/demux_nut.c:179: error: 'nut_context_tt' undeclared (first use in this function)
libmpdemux/demux_nut.c:179: error: 'nut' undeclared (first use in this function)
libmpdemux/demux_nut.c:179: error: 'nut_priv_tt' has no member named 'nut'
libmpdemux/demux_nut.c:180: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_nut.c:182: error: 'nut_packet_tt' undeclared (first use in this function)
libmpdemux/demux_nut.c:182: error: expected ';' before 'pd'
libmpdemux/demux_nut.c:183: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_nut.c:189: error: 'pd' undeclared (first use in this function)
libmpdemux/demux_nut.c:197: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:198: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:207: warning: unused variable 'buf'
libmpdemux/demux_nut.c: In function 'demux_seek_nut':
libmpdemux/demux_nut.c:240: error: 'nut_context_tt' undeclared (first use in this function)
libmpdemux/demux_nut.c:240: error: 'nut' undeclared (first use in this function)
libmpdemux/demux_nut.c:240: error: 'nut_priv_tt' has no member named 'nut'
libmpdemux/demux_nut.c:241: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_nut.c:252: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:253: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:254: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c: In function 'demux_control_nut':
libmpdemux/demux_nut.c:266: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:267: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:268: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:271: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c:274: error: 'nut_priv_tt' has no member named 's'
libmpdemux/demux_nut.c: In function 'demux_close_nut':
libmpdemux/demux_nut.c:284: error: 'nut_priv_tt' has no member named 'nut'
make: * [libmpdemux/demux_nut.o] Fehler 1

Change History (4)

comment:1 Changed 10 years ago by sylvain@…

Following was used for configure:
./configure --prefix=/usr --enable-gui --language=de

comment:2 Changed 10 years ago by diego@…

  • Status changed from new to assigned

Oh, the joy of incomplete bug reports...

What version or revision of libnut are you using?

comment:3 Changed 10 years ago by sylvain@…

It's difficult to be complete if you don't know what the problem actually is ;-) . libnut revision is 0.274.2 and only devel package is installed (for Mandriva 2009).

comment:4 Changed 10 years ago by diego@…

  • rep_platform changed from PC (x86) to All
  • Resolution set to invalid
  • Status changed from assigned to closed

That's an outdated version of libnut, upgrade.

Note: See TracTickets for help on using tickets.