Subject: multimedia/vlc fails to compile (pkgsrc-2005Q3)
To: None <tech-pkg@netbsd.org>
From: Rhialto <rhialto@falu.nl>
List: tech-pkg
Date: 10/02/2005 23:24:41
Using pkgsrc-2005Q3 in NetBSD 2.0.2/amd64:
/usr/pkgsrc/multimedia/vlc$ make
...
access.c: In function `CDDASeek':
access.c:328: warning: long long int format, __off_t arg (arg 7)
access.c:328: warning: long long int format, __off_t arg (arg 8)
access.c: In function `InformationCreate':
access.c:362: error: dereferencing pointer to incomplete type
access.c:365: error: dereferencing pointer to incomplete type
access.c:367: error: dereferencing pointer to incomplete type
access.c:370: error: dereferencing pointer to incomplete type
access.c:372: error: dereferencing pointer to incomplete type
access.c:375: error: dereferencing pointer to incomplete type
access.c:377: error: dereferencing pointer to incomplete type
... more errors follow
The code in access.c looks like this:
355 static void InformationCreate( input_thread_t *p_input )
356 {
357 cdda_data_t *p_cdda = (cdda_data_t *) p_input->p_access_data;
358
359 #ifdef HAVE_LIBCDDB
360 if (p_cdda->i_cddb_enabled) {
361
362 dbg_print( INPUT_DBG_META, "field %s: %s\n", "Title",
363 p_cdda->cddb.disc->title );
364 input_Control( p_input, INPUT_ADD_INFO, _("General"), _("Title"),
365 "%s", p_cdda->cddb.disc->title );
366
367 dbg_print( INPUT_DBG_META, "field %s: %s\n", "Artist",
368 p_cdda->cddb.disc->artist );
369 input_Control( p_input, INPUT_ADD_INFO, _("General"), _("Artist"),
370 "%s", p_cdda->cddb.disc->artist );
371
372 dbg_print( INPUT_DBG_META, "field %s: %s\n", "Genre",
373 p_cdda->cddb.disc->genre );
374 input_Control( p_input, INPUT_ADD_INFO, _("General"), _("Genre"),
375 "%s", p_cdda->cddb.disc->genre );
376
377 dbg_print( INPUT_DBG_META, "field %s: %s\n", "Extended Data",
378 p_cdda->cddb.disc->ext_data );
379 input_Control( p_input, INPUT_ADD_INFO, _("General"), _("Extended Da ta"),
380 "%s", p_cdda->cddb.disc->ext_data );
Does anyone else see this?
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.