Build of tests and apps fails with support for shared libs disabled
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
rohc | Status tracked in Rohc-main | |||||
1.2.x |
Fix Released
|
Medium
|
Didier Barvaux | |||
1.3.x |
Fix Released
|
Medium
|
Didier Barvaux | |||
Rohc-main |
Fix Released
|
Medium
|
Didier Barvaux |
Bug Description
Build of tests and apps fails with support for shared libs disabled. It should not.
Steps to reproduce with version 1.3.1:
$ ./autogen.sh --disable-shared
$ make clean all check
Output:
Making all in app
make[2]: Entering directory `/dev/rohc/
Making all in tunnel
make[3]: Entering directory `/dev/rohc/
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/comp -I../../src/decomp -g -Wall -Wstrict-prototypes -g -O2 -Werror -MT tunnel.o -MD -MP -MF .deps/tunnel.Tpo -c -o tunnel.o tunnel.c
mv -f .deps/tunnel.Tpo .deps/tunnel.Po
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -Wall -Wstrict-prototypes -g -O2 -Werror -L../..
libtool: link: gcc -g -Wall -Wstrict-prototypes -g -O2 -Werror -o rohctunnel tunnel.o -L../..
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
/dev/rohc/
[...]
collect2: ld returned 1 exit status
make[3]: *** [rohctunnel] Error 1
make[3]: Leaving directory `/dev/rohc/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/dev/rohc/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/rohc/
make: *** [all] Error 2
Found with 1.3.1, so the 1.3.x branch is affected.