* alsa-lib linking problem
@ 2003-03-10 11:26 Andrei Boros
2003-03-10 14:01 ` Jaroslav Kysela
0 siblings, 1 reply; 5+ messages in thread
From: Andrei Boros @ 2003-03-10 11:26 UTC (permalink / raw)
To: alsa-devel
Latest cvs alsa-lib compiles ok up to a point where the linker fails on
a library:
gcc -shared conf.lo confmisc.lo input.lo output.lo async.lo error.lo
dlmisc.lo -Wl,--whole-archive control/.libs/libcontrol.al
mixer/.libs/libmixer.al pcm/.libs/libpcm.al rawmidi/.libs/librawmidi.al
timer/.libs/libtimer.al hwdep/.libs/libhwdep.al seq/.libs/libseq.al
instr/.libs/libinstr.al compat/.libs/libcompat.al
-Wl,--no-whole-archive -lm -ldl -lpthread -lc -Wl,-soname
-Wl,libasound.so.2 -o .libs/libasound.so.2.0.0
/usr/i386-slackware-linux/bin/ld: .libs/libasound.so.2.0.0: undefined
versioned symbol name snd_pcm_forward@@ALSA_0.9.0rc8
/usr/i386-slackware-linux/bin/ld: failed to set dynamic section sizes:
Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound.la] Error 1
make[2]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
make: *** [all-recursive] Error 1
--
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alsa-lib linking problem
2003-03-10 11:26 alsa-lib linking problem Andrei Boros
@ 2003-03-10 14:01 ` Jaroslav Kysela
2003-03-11 13:58 ` Andrei Boros
0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2003-03-10 14:01 UTC (permalink / raw)
To: Andrei Boros; +Cc: alsa-devel@lists.sourceforge.net
On Mon, 10 Mar 2003, Andrei Boros wrote:
>
> Latest cvs alsa-lib compiles ok up to a point where the linker fails on
> a library:
>
> gcc -shared conf.lo confmisc.lo input.lo output.lo async.lo error.lo
> dlmisc.lo -Wl,--whole-archive control/.libs/libcontrol.al
> mixer/.libs/libmixer.al pcm/.libs/libpcm.al rawmidi/.libs/librawmidi.al
> timer/.libs/libtimer.al hwdep/.libs/libhwdep.al seq/.libs/libseq.al
> instr/.libs/libinstr.al compat/.libs/libcompat.al
> -Wl,--no-whole-archive -lm -ldl -lpthread -lc -Wl,-soname
> -Wl,libasound.so.2 -o .libs/libasound.so.2.0.0
> /usr/i386-slackware-linux/bin/ld: .libs/libasound.so.2.0.0: undefined
> versioned symbol name snd_pcm_forward@@ALSA_0.9.0rc8
> /usr/i386-slackware-linux/bin/ld: failed to set dynamic section sizes:
> Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [libasound.la] Error 1
> make[2]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
> make: *** [all-recursive] Error 1
It looks like libtool problem. The 1.4.2 version is ok.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alsa-lib linking problem
2003-03-10 14:01 ` Jaroslav Kysela
@ 2003-03-11 13:58 ` Andrei Boros
2003-03-11 14:19 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Andrei Boros @ 2003-03-11 13:58 UTC (permalink / raw)
To: Jaroslav Kysela, alsa-devel@lists.sourceforge.net
Jaroslav Kysela wrote:
>
> It looks like libtool problem. The 1.4.2 version is ok.
>
I see configure doing this:
checking for versioned symbols... broken libtool - use libtool v1.4+; no
versions
Is this so critical? If not, linking should work fine given this
warning, or else configure should halt.
Or versioned symbols shouldn't be versioned if this is what configure
sees...
--
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alsa-lib linking problem
2003-03-11 13:58 ` Andrei Boros
@ 2003-03-11 14:19 ` Takashi Iwai
2003-03-11 18:21 ` Jaroslav Kysela
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-03-11 14:19 UTC (permalink / raw)
To: Andrei Boros; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net
At Tue, 11 Mar 2003 15:58:44 +0200,
Andrei Boros wrote:
>
> Jaroslav Kysela wrote:
> >
> > It looks like libtool problem. The 1.4.2 version is ok.
> >
>
> I see configure doing this:
> checking for versioned symbols... broken libtool - use libtool v1.4+; no
> versions
>
> Is this so critical? If not, linking should work fine given this
> warning, or else configure should halt.
not too critical but i recommend you to update it than using too old
version if the update is not difficult.
a workaroud is to pass --with-versioned=no to configure script, btw.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alsa-lib linking problem
2003-03-11 14:19 ` Takashi Iwai
@ 2003-03-11 18:21 ` Jaroslav Kysela
0 siblings, 0 replies; 5+ messages in thread
From: Jaroslav Kysela @ 2003-03-11 18:21 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Andrei Boros, alsa-devel@lists.sourceforge.net
On Tue, 11 Mar 2003, Takashi Iwai wrote:
> At Tue, 11 Mar 2003 15:58:44 +0200,
> Andrei Boros wrote:
> >
> > Jaroslav Kysela wrote:
> > >
> > > It looks like libtool problem. The 1.4.2 version is ok.
> > >
> >
> > I see configure doing this:
> > checking for versioned symbols... broken libtool - use libtool v1.4+; no
> > versions
> >
> > Is this so critical? If not, linking should work fine given this
> > warning, or else configure should halt.
>
> not too critical but i recommend you to update it than using too old
> version if the update is not difficult.
>
> a workaroud is to pass --with-versioned=no to configure script, btw.
This workaround doesn't work. I'm working on this problem.
Jaroslav
P.S. Problems in my list before 0.9.0final:
1) OSS seq emulator segfaults (seems some memory leak)
- try alsa-driver/test/seq2 test utility to run several times
- if you'll work on this problem ASAP, please drop an e-mail, otherwise
I'm working on it
2) vxpocket drivers don't work with the dmix plugin (machine hangup)
- I'll disable the dmix plugin for this card and solve problem later
3) alsa-lib - symbol versions
4) vmalloc_to_page() problem again
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-11 18:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 11:26 alsa-lib linking problem Andrei Boros
2003-03-10 14:01 ` Jaroslav Kysela
2003-03-11 13:58 ` Andrei Boros
2003-03-11 14:19 ` Takashi Iwai
2003-03-11 18:21 ` Jaroslav Kysela
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.