You are welcome, Nicola. Now you probably need to add "-lGLU" to
linker command line.
Michal

On 23 October 2011 01:42, Nicola Ferralis <[email protected]> wrote:
> Thanks Michal.
>
> It turns out that the error is due to a change in gcc (4.5) that ships with
> Ubuntu, see here:
>
> https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
>
> I explicitly added the library to the makefile in cinelerra source
> (attached). This issue is in the source of Cinelerra, and I think the patch
> should be applied to the main tree (previous testing, of course).
>
> Even with the patch, I still have errors in compilation of Cinelerra under
> Oneiric. This time the error message is:
>
>
> playback3d.o: In function `Playback3D::do_mask_sync(Playback3DCommand*)':
> playback3d.C:(.text+0x1fd1): undefined reference to `gluNewTess'
> playback3d.C:(.text+0x1ff4): undefined reference to `gluTessProperty'
> playback3d.C:(.text+0x2012): undefined reference to `gluTessCallback'
> playback3d.C:(.text+0x2030): undefined reference to `gluTessCallback'
> playback3d.C:(.text+0x204b): undefined reference to `gluTessCallback'
> playback3d.C:(.text+0x2066): undefined reference to `gluTessCallback'
> playback3d.C:(.text+0x2114): undefined reference to `gluTessBeginPolygon'
> playback3d.C:(.text+0x2123): undefined reference to `gluTessBeginContour'
> playback3d.C:(.text+0x272b): undefined reference to `gluTessVertex'
> playback3d.C:(.text+0x2754): undefined reference to `gluTessEndContour'
> playback3d.C:(.text+0x2763): undefined reference to `gluTessEndPolygon'
> playback3d.C:(.text+0x27ff): undefined reference to `gluDeleteTess'
> collect2: ld returned 1 exit status
>
> Suggestions?
>
> Thanks again,
> Nicola
>
>
>
>
>> From: [email protected]
>> Subject: Re: [CinCV] Compiling Cinelerra on Ubuntu Oneiric (11.10)
>> To: [email protected]
>> Date: Fri, 21 Oct 2011 07:55:50 +0200
>>
>> It seems that you need to add "-lmp3lame" to the linker command line.
>> A similar issue is described here:
>>
>>
>> http://stackoverflow.com/questions/3476869/g-linker-usr-lib-libgl-so-1-could-not-read-symbols-invalid-operation
>>
>> Michal
>>
>> On 21 October 2011 07:15, Nicola Ferralis <[email protected]> wrote:
>> > Hi,
>> >
>> > thanks for the response, the error was due to an improper use of a flag
>> > during compilation. I still have issues though (and this has been going
>> > on
>> > for a while in my builds for Oneiric), which seem related to libmp3lame:
>> >
>> > Here's the error log:
>> >
>> > /usr/bin/ld: filempeg.o: undefined reference to symbol
>> > 'lame_encode_buffer_float'
>> > /usr/bin/ld: note: 'lame_encode_buffer_float' is defined in DSO
>> > /usr/lib/libmp3lame.so.0 so try adding it to the linker command line
>> > /usr/lib/libmp3lame.so.0: could not read symbols: Invalid operation
>> > collect2: ld returned 1 exit status
>> >
>> > Did anybody encounter this error? Any suggestions on how to deal with
>> > this?
>> >
>> > Thanks again,
>> > Nicola
>> >
>> >
>> >
>> >
>> >> From: [email protected]
>> >> Subject: Re: [CinCV] Compiling Cinelerra on Ubuntu Oneiric (11.10)
>> >> To: [email protected]
>> >> Date: Thu, 20 Oct 2011 07:31:52 +0200
>> >>
>> >> Hi Nicola,
>> >>
>> >> try to look inside the config.log ...there should be more details
>> >> about the problem or send the whole file here.
>> >>
>> >> Michal
>> >>
>> >> On 20 October 2011 06:02, Nicola Ferralis <[email protected]> wrote:
>> >> > Hi,
>> >> >
>> >> > I keep having compilation issues of my ubuntu packages, in what seems
>> >> > a
>> >> > configuration issue. Essentially the error message in the compile log
>> >> > looks
>> >> > like this:
>> >> >
>> >> > checking whether the C compiler works... no
>> >> > configure: error: in `/build/buildd/cinelerra-2.1.5':
>> >> > configure: error: C compiler cannot create executables
>> >> >
>> >> >
>> >> > Ubuntu 11.10 uses gcc 4.6, I wonder if anybody experienced similar
>> >> > issues
>> >> > with it.
>> >> >
>> >> > Thanks for any insight,
>> >> > Nicola
>> >> >
>> >> >
>> >>
>> >> _______________________________________________
>> >> Cinelerra mailing list
>> >> [email protected]
>> >> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>> >
>>
>> _______________________________________________
>> Cinelerra mailing list
>> [email protected]
>> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to