Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Compiling on Archlinux
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Azrael^^  
View profile  
 More options Aug 3 2012, 4:14 am
From: Azrael^^ <ajb.azr...@gmail.com>
Date: Fri, 3 Aug 2012 01:14:11 -0700 (PDT)
Local: Fri, Aug 3 2012 4:14 am
Subject: Compiling on Archlinux

Hi all!! I'm getting some errors while trying to compile Veejay on
Archlinux. I'm following this:
http://www.veejayhq.net/docs/compiling-on-ubuntu-10-04-ltslucid-lynx/

When I type "make -j2" always get this:

"...
vj-el.c: In function '_el_new_decoder':
vj-el.c:479:3: warning: 'avcodec_alloc_context' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3246) [-Wdeprecated-declarations]
vj-el.c:483:13: error: 'AVCodecContext' has no member named 'palctrl'
vj-el.c:487:3: warning: 'avcodec_open' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
vj-el.c: In function 'detect_pixel_format_with_ffmpeg':
vj-el.c:1367:2: error: unknown type name 'AVFormatParameters'
vj-el.c:1376:2: warning: 'av_find_stream_info' is deprecated (declared at
/usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
vj-el.c:1380:3: warning: 'av_close_input_file' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
vj-el.c:1395:55: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this
function)
vj-el.c:1395:55: note: each undeclared identifier is reported only once for
each function it appears in
vj-el.c:1408:6: warning: 'av_close_input_file' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
vj-el.c:1416:6: warning: 'av_close_input_file' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
vj-el.c:1427:3: warning: 'av_close_input_file' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
vj-el.c:1433:2: warning: 'avcodec_open' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
vj-el.c:1457:3: warning: 'av_close_input_file' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
vj-el.c:1469:2: warning: 'av_close_input_file' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
make[2]: *** [vj-el.lo] Error 1
make[2]: se sale del directorio
`/home/agustin/veejay-git/veejay-current/veejay-server/libel'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/home/agustin/veejay-git/veejay-current/veejay-server'
make: *** [all] Error 2"

Do you know how to solve it??


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Goyard  
View profile  
 More options Aug 5 2012, 5:43 am
From: Charles Goyard <c...@fsck.fr>
Date: Sun, 5 Aug 2012 11:43:48 +0200
Local: Sun, Aug 5 2012 5:43 am
Subject: Re: Compiling on Archlinux
Hi,

I use archlinux too and had no problems so far.

Have you installed ffmpeg or libav ?

I can check next week if I can reproduce the problem when I'm back
from holidays.

Have a look at a previous thread where I explain how to get and build
a ffmpeg that works with veejay.

2012/8/3 Azrael^^ <ajb.azr...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Azrael^^  
View profile  
 More options Aug 5 2012, 11:30 am
From: Azrael^^ <ajb.azr...@gmail.com>
Date: Sun, 5 Aug 2012 08:30:29 -0700 (PDT)
Local: Sun, Aug 5 2012 11:30 am
Subject: Re: Compiling on Archlinux

Hi again!! I've tried with ffmpeg and also with libav from AUR, but it
still doesn't work. So after that I've been reading that thread "Build
problem veejay" and I've compiled ffmpeg-git from AUR editing the PKGBUILD
and adding "--enable-shared" but.....I still get some errors, but not the
same:

"...
vj-perform.c: In function 'vj_perform_init_audio':
vj-perform.c:774:6: error: 'SAMPLE_FMT_S16' undeclared (first use in this
function)
vj-perform.c:774:6: note: each undeclared identifier is reported only once
for each function it appears in
vj-perform.c: In function 'vj_perform_fill_audio_buffers':
vj-perform.c:1613:5: warning: passing argument 2 of 'audio_resample' from
incompatible pointer type [enabled by default]
In file included from ../libel/vj-avcodec.h:21:0,
                 from vj-perform.c:33:
/usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but
argument is of type 'uint8_t *'
vj-perform.c:1613:5: warning: passing argument 3 of 'audio_resample' from
incompatible pointer type [enabled by default]
In file included from ../libel/vj-avcodec.h:21:0,
                 from vj-perform.c:33:
/usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but
argument is of type 'uint8_t *'
vj-perform.c:1651:6: warning: passing argument 2 of 'audio_resample' from
incompatible pointer type [enabled by default]
In file included from ../libel/vj-avcodec.h:21:0,
                 from vj-perform.c:33:
/usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but
argument is of type 'uint8_t *'
vj-perform.c:1651:6: warning: passing argument 3 of 'audio_resample' from
incompatible pointer type [enabled by default]
In file included from ../libel/vj-avcodec.h:21:0,
                 from vj-perform.c:33:
/usr/include/libavcodec/avcodec.h:4258:5: note: expected 'short int *' but
argument is of type 'uint8_t *'
vj-perform.c: In function 'vj_perform_finish_render':
vj-perform.c:3375:13: warning: assignment makes pointer from integer
without a cast [enabled by default]
make[2]: *** [vj-perform.lo] Error 1
make[2]: *** Se espera a que terminen otras tareas....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include
-DG_LOG_DOMAIN=\"veejay\" -DVEEJAY_VERSION=\"1.5.20\" -I../mjpegtools -I
/usr/X11R6/include -I../libOSC -I../libhash -I../libvje -I../libplugger
-I../libvjmem -I../libvjmsg -I../libvjnet -I../libel -I../libstream
-I/libyuv -I../libsamplerec -I../libvevo -I../liblzo -I../bio2jack
-I/usr/include/lqt -I/usr/include/freetype2 -I/usr/include/libxml2
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -march=nocona
-mtune=nocona -fno-stack-protector -MT vj-font.lo -MD -MP -MF
.deps/vj-font.Tpo -c vj-font.c -o vj-font.o >/dev/null 2>&1
mv -f .deps/vj-font.Tpo .deps/vj-font.Plo
make[2]: se sale del directorio
`/home/agustin/veejay-git/veejay-current/veejay-server/veejay'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/home/agustin/veejay-git/veejay-current/veejay-server'
make: *** [all] Error 2"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Goyard  
View profile  
 More options Aug 11 2012, 8:28 am
From: Charles Goyard <c...@fsck.fr>
Date: Sat, 11 Aug 2012 14:28:50 +0200
Local: Sat, Aug 11 2012 8:28 am
Subject: Re: Compiling on Archlinux
Hi,

Azrael^^ wrote:
> Hi again!! I've tried with ffmpeg and also with libav from AUR, but it
> still doesn't work. So after that I've been reading that thread "Build
> problem veejay" and I've compiled ffmpeg-git from AUR editing the PKGBUILD
> and adding "--enable-shared" but.....I still get some errors, but not the
> same:

you can try with ffmpeg-compat. It seems the ffmpeg team has again
changed the API.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Azrael^^  
View profile  
 More options Aug 12 2012, 1:48 pm
From: Azrael^^ <ajb.azr...@gmail.com>
Date: Sun, 12 Aug 2012 10:48:28 -0700 (PDT)
Local: Sun, Aug 12 2012 1:48 pm
Subject: Re: Compiling on Archlinux

Ok, but....could you explain me how?? I have already installed
ffmpeg-compat. Should I remove ffmpeg and then try to compile??


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Goyard  
View profile  
 More options Aug 12 2012, 3:09 pm
From: Charles Goyard <c...@fsck.fr>
Date: Sun, 12 Aug 2012 21:09:21 +0200
Local: Sun, Aug 12 2012 3:09 pm
Subject: Re: Compiling on Archlinux

Azrael^^ wrote:
> Ok, but....could you explain me how?? I have already installed
> ffmpeg-compat. Should I remove ffmpeg and then try to compile??

There's scattered info in the thread " Build problem veejay" of 19 Oct
2011.

Either get the ffmpeg revision of 2011-11-11 (Commit id: 985e76802435a3eabfbfca3ca27cc3aa66ba907a) or try with the C_INCLUDE_PATH and pkgconfig stuff to point to ffmpeg-compat.

I soon will have to try that because I get the same problem on my
archlinux :).

Good luck.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Niels Elburg  
View profile  
 More options Aug 13 2012, 3:20 am
From: Niels Elburg <nwelb...@gmail.com>
Date: Mon, 13 Aug 2012 09:20:15 +0200
Local: Mon, Aug 13 2012 3:20 am
Subject: Re: Compiling on Archlinux

Hi,

It's just a version conflict, ffmpeg is very volatile atm.
You will need to find out whether you have multiple versions of ffmpeg
installed
and that the include files match the version of the library you need.
Something like ldconfig -v |grep avcodec as root should do.
Set PKG_CONFIG_PATH to the location containing the ffmpeg .pc files
Libav is just as volatile, I never tried it with veejay

See you,
Niels


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Goyard  
View profile  
 More options Aug 13 2012, 8:16 am
From: Charles Goyard <c...@fsck.fr>
Date: Mon, 13 Aug 2012 14:16:46 +0200
Local: Mon, Aug 13 2012 8:16 am
Subject: Re: Compiling on Archlinux

> ffmpeg is very volatile atm.

Yes. gavl/gmerlin provides a stable API to ffmpeg. Maybe it's a easier
way to link to ffmpeg ?

I could build veejay (1.5.20) today with:

export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig/
./configure --enable-shared=yes
make


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Azrael^^  
View profile  
 More options Aug 13 2012, 11:19 am
From: Azrael^^ <ajb.azr...@gmail.com>
Date: Mon, 13 Aug 2012 08:19:15 -0700 (PDT)
Local: Mon, Aug 13 2012 11:19 am
Subject: Re: Compiling on Archlinux

Great!!! Finally it worked with ffmpeg-compat just like you said.

Now I can play again with this!!

I will be reading you!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »