Skip to contentSkip to conversation

cvs alsa-lib compilation :

DISCUSSION Andrei Boros 2 participants 7 messages Sep 22, 2003 – Sep 25, 2003

lore
Share & tools
lore
#0 lore raw

running ./cvscompile in alsa-lib (cvs tree) yields the following :

 gate:~/install/alsa-cvs/alsa-lib# ./cvscompile
configure.in:44: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:182: warning: do not use m4_regexp: use regexp or
m4_bregexp
autoheader: `include/config.h.in' is unchanged
CFLAGS=-O2 -Wall -W -pipe -g

Then :

checking whether build environment is sane... yes /root/install/alsa-cvs/alsa-lib/missing: Unknown --run' option Try /root/install/alsa-cvs/alsa-lib/missing --help' for more information
configure: WARNING: `missing' script is too old or missing

Note : make is
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.

gcc is
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs gcc version 2.95.3 20010315 (release)

Kernel is 2.2.24
glibc is 2.1.3 (would like to update to 2.2.5, but still having problems with it).

Ok, so far these seem to be warnings.

./cvscompile finally fails with :

/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../include -O2 -Wall -W -pipe -g -c -o
control_symbols.lo test -f control_symbols.c || echo './'control_symbols.c
make[2]: stat:control_symbols.lo: Too many levels of symbolic links
/bin/sh ../../libtool --mode=link gcc -O2 -Wall -W -pipe -g -o
libcontrol.la cards.lo hcontrol.lo control.lo control_hw.lo
control_shm.lo setup.lo control_symbols.lo
rm -fr .libs/libcontrol.la .libs/libcontrol.* .libs/libcontrol.* (cd . && ln -s cards.lo cards.lo)
ln: cards.lo: File exists
make[2]: *** [libcontrol.la] Error 1
make[2]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
make: *** [all-recursive] Error 1

Signature · 10 lines
ing. Andrei Boros
mailto:[email protected] / +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
#1 lore raw

At Mon, 22 Sep 2003 12:06:38 +0300,

Quoted 11 lines · Andrei Boros

running ./cvscompile in alsa-lib (cvs tree) yields the following :

 gate:~/install/alsa-cvs/alsa-lib# ./cvscompile
configure.in:44: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:182: warning: do not use m4_regexp: use regexp or
m4_bregexp
autoheader: `include/config.h.in' is unchanged
CFLAGS=-O2 -Wall -W -pipe -g

ARGH, again autotools problem!

please tell me the version of automake, autoconf and libtool. and check which tool causes this error by running the sequence in cvscompile script manually.

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#2 lore raw
Quoted 8 lines · Takashi Iwai
Quoted 7 lines
 gate:~/install/alsa-cvs/alsa-lib# ./cvscompile
configure.in:44: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:182: warning: do not use m4_regexp: use regexp or
m4_bregexp
autoheader: `include/config.h.in' is unchanged
CFLAGS=-O2 -Wall -W -pipe -g
Quoted 6 lines

ARGH, again autotools problem!

please tell me the version of automake, autoconf and libtool. and check which tool causes this error by running the sequence in cvscompile script manually.

gate:~/install/alsa-cvs/alsa-utils/alsactl# automake --version
automake (GNU automake) 1.5
gate:~/install/alsa-cvs/alsa-utils/alsactl# autoconf --version
autoconf (GNU Autoconf) 2.53
gate:~/install/alsa-cvs/alsa-utils/alsactl# libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)

Running each command in cvscompile :

gate:~/install/alsa-cvs/alsa-lib# autoheader
configure.in:44: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:182: warning: do not use m4_regexp: use regexp or
m4_bregexp
autoheader: `include/config.h.in' is unchanged
Signature · 10 lines
ing. Andrei Boros
mailto:[email protected] / +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
#3 lore raw

At Wed, 24 Sep 2003 14:29:25 +0300,

Quoted 27 lines · Andrei Boros
Quoted 8 lines · Takashi Iwai
Quoted 7 lines
 gate:~/install/alsa-cvs/alsa-lib# ./cvscompile
configure.in:44: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:182: warning: do not use m4_regexp: use regexp or
m4_bregexp
autoheader: `include/config.h.in' is unchanged
CFLAGS=-O2 -Wall -W -pipe -g
Quoted 6 lines

ARGH, again autotools problem!

please tell me the version of automake, autoconf and libtool. and check which tool causes this error by running the sequence in cvscompile script manually.

gate:~/install/alsa-cvs/alsa-utils/alsactl# automake --version
automake (GNU automake) 1.5
gate:~/install/alsa-cvs/alsa-utils/alsactl# autoconf --version
autoconf (GNU Autoconf) 2.53
gate:~/install/alsa-cvs/alsa-utils/alsactl# libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
Quoted 8 lines

Running each command in cvscompile :

gate:~/install/alsa-cvs/alsa-lib# autoheader
configure.in:44: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:182: warning: do not use m4_regexp: use regexp or
m4_bregexp
autoheader: `include/config.h.in' is unchanged

not about that; they are just warnings.

i guess automake is the culprit.
possibly removing a file "missing" and rerun cvscompile might solve this.

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#4 lore raw
Quoted 6 lines · Takashi Iwai

not about that; they are just warnings.

i guess automake is the culprit.
possibly removing a file "missing" and rerun cvscompile might solve this.

Removed "missing", then cvscompile again completed the configure part without errors.

Then, while compiling the libraries :

/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../include -O2 -Wall -W -pipe -g -c -o
control_symbols.lo test -f control_symbols.c || echo './'control_symbols.c
make[2]: stat:control_symbols.lo: Too many levels of symbolic links
/bin/sh ../../libtool --mode=link gcc -O2 -Wall -W -pipe -g -o
libcontrol.la cards.lo hcontrol.lo control.lo control_hw.lo
control_shm.lo setup.lo control_symbols.lo
rm -fr .libs/libcontrol.la .libs/libcontrol.* .libs/libcontrol.* (cd . && ln -s cards.lo cards.lo)
ln: cards.lo: File exists
make[2]: *** [libcontrol.la] Error 1
make[2]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
make: *** [all-recursive] Error 1

Signature · 10 lines
ing. Andrei Boros
mailto:[email protected] / +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
#5 lore raw
In reply to Takashi Iwai

A followup on my last post :

I remove the symlinks in alsa-lib/src/control (which are broken). make

/bin/sh ../../libtool --mode=link gcc -O2 -Wall -W -pipe -g -o
libcontrol.la cards.lo hcontrol.lo control.lo control_hw.lo
control_shm.lo setup.lo control_symbols.lo
rm -fr .libs/libcontrol.la .libs/libcontrol.* .libs/libcontrol.* (cd . && ln -s cards.lo cards.lo)
(cd . && ln -s hcontrol.lo hcontrol.lo)
(cd . && ln -s control.lo control.lo)
(cd . && ln -s control_hw.lo control_hw.lo)
(cd . && ln -s control_shm.lo control_shm.lo)
(cd . && ln -s setup.lo setup.lo)
(cd . && ln -s control_symbols.lo control_symbols.lo)
ar cru .libs/libcontrol.al cards.lo hcontrol.lo control.lo control_hw.lo control_shm.lo setup.lo control_symbols.lo
ar: cards.lo: Too many levels of symbolic links
make[2]: *** [libcontrol.la] Error 1
make[2]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-lib/src'
make: *** [all-recursive] Error 1

Signature · 10 lines
ing. Andrei Boros
mailto:[email protected] / +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
#6 lore raw

At Thu, 25 Sep 2003 06:46:22 +0300,

Quoted 6 lines · Andrei Boros

A followup on my last post :

I remove the symlinks in alsa-lib/src/control (which are broken). make

Quoted 14 lines

/bin/sh ../../libtool --mode=link gcc -O2 -Wall -W -pipe -g -o
libcontrol.la cards.lo hcontrol.lo control.lo control_hw.lo
control_shm.lo setup.lo control_symbols.lo
rm -fr .libs/libcontrol.la .libs/libcontrol.* .libs/libcontrol.* (cd . && ln -s cards.lo cards.lo)
(cd . && ln -s hcontrol.lo hcontrol.lo)
(cd . && ln -s control.lo control.lo)
(cd . && ln -s control_hw.lo control_hw.lo)
(cd . && ln -s control_shm.lo control_shm.lo)
(cd . && ln -s setup.lo setup.lo)
(cd . && ln -s control_symbols.lo control_symbols.lo)
ar cru .libs/libcontrol.al cards.lo hcontrol.lo control.lo control_hw.lo control_shm.lo setup.lo control_symbols.lo
ar: cards.lo: Too many levels of symbolic links

try to run make clean ?
it's definitely a problem of libtool (or the combination with other auto-tools).

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf