Forwarded to openssl-users for public discussion.

Best regards,
        Lutz

----- Forwarded message from Vincenzo Giarratana 
<vincenzo.giarrat...@gmail.com> -----

From: Vincenzo Giarratana <vincenzo.giarrat...@gmail.com>
To: r...@openssl.org
Subject: RE: Help Request
Date: Tue, 12 Jan 2010 17:57:02 +0100
Thread-Index: AcqToX9nGNbClrvkRoCvNYvYVzWmuQAABiAgAABPPXA=
In-Reply-To: 

Hi,
following my previous request, let me add a fragment of the VLC source code,
the line where I got the compiler error is:

 dialog_Fatal( p_input, _("Streaming / Transcoding failed"), "%s",
                          _("VLC could not open the packetizer module.") );


this is the function containing the line:

decoder_t *input_DecoderNew( input_thread_t *p_input,
                             es_format_t *fmt, input_clock_t *p_clock,
sout_instance_t *p_sout  )
{
    decoder_t *p_dec = NULL;
    int i_priority;

#ifdef ENABLE_SOUT
    /* If we are in sout mode, search for packetizer module */
    if( p_sout )
    {
        /* Create the decoder configuration structure */
        p_dec = CreateDecoder( p_input, fmt, VLC_OBJECT_PACKETIZER, p_sout
);
        if( p_dec == NULL )
        {
            msg_Err( p_input, "could not create packetizer" );
            dialog_Fatal( p_input, _("Streaming / Transcoding failed"),
"%s",
                          _("VLC could not open the packetizer module.") );
            return NULL;
        }
    }
......

 
Thank you for your help
  
Vincenzo Giarratana

vincenzo.giarrat...@gmail.com 

  _____  

From: Vincenzo Giarratana [mailto:vincenzo.giarrat...@gmail.com] 
Sent: martedì 12 gennaio 2010 17.11
To: 'r...@openssl.org'
Subject: Help Request


Hi,
I am doing a VLC 1.0.4  build under Ubuntu 9.10.
I did  first 
sudo apt-get install libssl-dev
then I inserted the following line into VLC decoder.c souce code
#include <openssl/des.h>
Then I run
./configure  LDFLAGS='-lssl -lcrypto' ....
make

and I got the following error:

input/decoder.c: In function ‘input_DecoderNew’:
input/decoder.c:292: error: implicit declaration of function ‘_’
input/decoder.c:292: warning: passing argument 2 of ‘dialog_Fatal’ makes
pointer from integer without a cast
../include/vlc_dialog.h:43: note: expected ‘const char *’ but argument is of
type ‘int’
input/decoder.c:292: warning: format ‘%s’ expects type ‘char *’, but
argument 4 has type ‘int’

If I do the make without inserting #include <openssl/des.h> the compilation
is successfull. 
Why this include causes the error: implicit declaration of function ‘_’

Is it a bug in the openssl/des.h or in the VLC ?

Thank you for your help
 
Vincenzo Giarratana

vincenzo.giarrat...@gmail.com 




----- End forwarded message -----
--
Lutz Jaenicke           jaeni...@openssl.org
OpenSSL Project         http://www.openssl.org/~jaenicke/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to