All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem compiling libv4l 0.6.3
@ 2009-10-28 17:43 Pierre
  2009-10-29 11:00 ` Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre @ 2009-10-28 17:43 UTC (permalink / raw)
  To: linux-media; +Cc: pierre42d

# make
make -C libv4lconvert V4L2_LIB_VERSION=0.6.3 all
make[1]: Entering directory `/tmp/libv4l-0.6.3/libv4lconvert'
gcc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c 
-I../include -I../../../include -fvisibility=hidden -fPIC 
-DLIBDIR=\"/usr/local/lib\" -DLIBSUBDIR=\"libv4l\" -g -O1 -Wall 
-Wno-unused -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -o 
libv4lconvert.o libv4lconvert.c
cc1: error: unrecognized command line option "-fvisibility=hidden"
make[1]: *** [libv4lconvert.o] Error 1
make[1]: Leaving directory `/tmp/libv4l-0.6.3/libv4lconvert'
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem compiling libv4l 0.6.3
  2009-10-28 17:43 Problem compiling libv4l 0.6.3 Pierre
@ 2009-10-29 11:00 ` Hans de Goede
  2009-11-02 16:23   ` Pierre
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2009-10-29 11:00 UTC (permalink / raw)
  To: Pierre; +Cc: linux-media

Hi,

On 10/28/2009 06:43 PM, Pierre wrote:
> # make
> make -C libv4lconvert V4L2_LIB_VERSION=0.6.3 all
> make[1]: Entering directory `/tmp/libv4l-0.6.3/libv4lconvert'
> gcc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include
> -I../../../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\"
> -DLIBSUBDIR=\"libv4l\" -g -O1 -Wall -Wno-unused -Wpointer-arith
> -Wstrict-prototypes -Wmissing-prototypes -o libv4lconvert.o libv4lconvert.c
> cc1: error: unrecognized command line option "-fvisibility=hidden"
> make[1]: *** [libv4lconvert.o] Error 1
> make[1]: Leaving directory `/tmp/libv4l-0.6.3/libv4lconvert'
> make: *** [all] Error 2
>

It would seem that you are using a very very old gcc.

Regards,

Hans

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem compiling libv4l 0.6.3
  2009-10-29 11:00 ` Hans de Goede
@ 2009-11-02 16:23   ` Pierre
  2009-11-03 18:54     ` Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre @ 2009-11-02 16:23 UTC (permalink / raw)
  To: Hans de Goede; +Cc: linux-media

Hans de Goede wrote:
> Hi,
> 
> On 10/28/2009 06:43 PM, Pierre wrote:
>> # make
>> make -C libv4lconvert V4L2_LIB_VERSION=0.6.3 all
>> make[1]: Entering directory `/tmp/libv4l-0.6.3/libv4lconvert'
>> gcc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include
>> -I../../../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\"
>> -DLIBSUBDIR=\"libv4l\" -g -O1 -Wall -Wno-unused -Wpointer-arith
>> -Wstrict-prototypes -Wmissing-prototypes -o libv4lconvert.o 
>> libv4lconvert.c
>> cc1: error: unrecognized command line option "-fvisibility=hidden"
>> make[1]: *** [libv4lconvert.o] Error 1
>> make[1]: Leaving directory `/tmp/libv4l-0.6.3/libv4lconvert'
>> make: *** [all] Error 2
>>
> 
> It would seem that you are using a very very old gcc.

# gcc --version
gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is 
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

What is the version you recommend ?

Best regards,

-- 
Pierre.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem compiling libv4l 0.6.3
  2009-11-02 16:23   ` Pierre
@ 2009-11-03 18:54     ` Hans de Goede
  0 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2009-11-03 18:54 UTC (permalink / raw)
  To: Pierre; +Cc: linux-media

Hi,

On 11/02/2009 05:23 PM, Pierre wrote:
> Hans de Goede wrote:
>> Hi,
>>
>> On 10/28/2009 06:43 PM, Pierre wrote:
>>> # make
>>> make -C libv4lconvert V4L2_LIB_VERSION=0.6.3 all
>>> make[1]: Entering directory `/tmp/libv4l-0.6.3/libv4lconvert'
>>> gcc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include
>>> -I../../../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\"
>>> -DLIBSUBDIR=\"libv4l\" -g -O1 -Wall -Wno-unused -Wpointer-arith
>>> -Wstrict-prototypes -Wmissing-prototypes -o libv4lconvert.o
>>> libv4lconvert.c
>>> cc1: error: unrecognized command line option "-fvisibility=hidden"
>>> make[1]: *** [libv4lconvert.o] Error 1
>>> make[1]: Leaving directory `/tmp/libv4l-0.6.3/libv4lconvert'
>>> make: *** [all] Error 2
>>>
>>
>> It would seem that you are using a very very old gcc.
>
> # gcc --version
> gcc (GCC) 3.4.3
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is
> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> What is the version you recommend ?

[hans@localhost ~]$ gcc --version
gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)

Is what I use but any 4.x which supports -fvisibility=hidden should work
fine. Note that you will probably also need newer kernel headers.

Regards,

Hans



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-03 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28 17:43 Problem compiling libv4l 0.6.3 Pierre
2009-10-29 11:00 ` Hans de Goede
2009-11-02 16:23   ` Pierre
2009-11-03 18:54     ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.