multiple '.text' sections found with different attributes

This forum is about all development around libVLC.
hanss
New Cone
New Cone
Posts: 4
Joined: 23 May 2009 14:35

multiple '.text' sections found with different attributes

Postby hanss » 07 Mar 2010 14:00

Hello,

I've developed a gui with eclipse, qt, mingw and vlc on ms vista. Always build debug and ignoring "libvlc.dll.a(d000031.o) : warning LNK4078: multiple '.text' sections found with different attributes(E0300020)" because it worked. Now I am build release (same message), but execution hangs now.

I have had vlc 9.8 and tried right now 1.0.5

qmake uses vlc-1.0.5/sdk/lib/libvlc.dll.a as LIBS downloaded in the vlc-1.0.5-win32.zip

Any idea what to do?

Greetings from Munich from Stefan

hanss
New Cone
New Cone
Posts: 4
Joined: 23 May 2009 14:35

Re: multiple '.text' sections found with different attribute

Postby hanss » 07 Mar 2010 18:14

Some completion:

I've downloaded vlc-1.0.5-win32 and unzipped it to C:\

The makefiles containing the following:

LIBS = ... C:\vlc-1.0.5\sdk\lib\libvlc.dll.a ...

I've included the following to my code:

#include <vlc/vlc.h>
#include <vlc/libvlc.h>
#include <vlc/libvlc_events.h>

and added the Include path C:\vlc-1.0.5\sdk\include in the project's properties.

The explanation I've found as follows:
"Linker Tools Warning LNK4078
multiple 'section name' sections found with different attributes

LINK found two or more sections that have the same name but different attributes.

Possible cause

An import library or exports file was created by a previous version of LINK or LIB.
Recreate the file and relink."

is from Visual Studio Developer Center, but I have no real clue about that.

Stefan

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: multiple '.text' sections found with different attribute

Postby Rémi Denis-Courmont » 07 Mar 2010 20:14

The Windows toolchain was updated. The import libraries are done with libtool, so I doubt anybody knows their internals here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: multiple '.text' sections found with different attribute

Postby mangokm40 » 13 Jul 2010 17:09

I just downloaded the 1.1.0 version. I'm getting this message from the linker. Should I create my own '.lib' file as I did for version 1.0.5?
Thanks for your time.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: multiple '.text' sections found with different attribute

Postby mangokm40 » 13 Jul 2010 18:34

As I did in version 1.0.5, I used this information:
http://wiki.videolan.org/GenerateLibFromDll

The warning is gone.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests