Bug 27102 - 0.4.3 does not build static library.
Summary: 0.4.3 does not build static library.
Alias: None
Product: Orc
Classification: Unclassified
Component: Orc (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Schleef
QA Contact:
Depends on:
Reported: 2010-03-15 20:39 UTC by Ramiro Polla
Modified: 2010-03-18 16:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Ramiro Polla 2010-03-15 20:39:38 UTC
$ ./configure --disable-shared --enable-static
$ make
Making all in tools
make[2]: Entering directory `/home/ramiro/code/orc-0.4.3/tools'
/bin/bash ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2   -o orcc orcc.o ../orc/liborc-0.4.la -lm -lrt ../orc-test/liborc-test-0.4.la 
libtool: link: gcc -Wall -I.. -g -O2 -o orcc orcc.o  ../orc/.libs/liborc-0.4.a ../orc-test/.libs/liborc-test-0.4.a /home/ramiro/code/orc-0.4.3/orc/.libs/liborc-0.4.a -lm -lrt
../orc/.libs/liborc-0.4.a(liborc_0.4_la-orcprogram-c.o):(.data+0x0): multiple definition of `varnames'
orcc.o:(.data+0x20): first defined here
../orc/.libs/liborc-0.4.a(liborc_0.4_la-orcprogram-c64x-c.o): In function `output_prototype':
/home/ramiro/code/orc-0.4.3/orc/orcprogram-c64x-c.c:109: multiple definition of `output_prototype'
orcc.o:/home/ramiro/code/orc-0.4.3/tools/orcc.c:443: first defined here
collect2: ld returned 1 exit status
make[2]: *** [orcc] Error 1
make[2]: Leaving directory `/home/ramiro/code/orc-0.4.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ramiro/code/orc-0.4.3'
make: *** [all] Error 2
Comment 1 David Schleef 2010-03-18 16:44:14 UTC
commit c53fa9207fa376c576297425116408d3bb979737
Author: David Schleef <ds@schleef.org>
Date:   Thu Mar 18 16:42:29 2010 -0700

    lib: Make some functions static
    There's still several functions that don't have an orc_ prefix
    that are leaked into the global namespace, but these were the
    worst.  Fixes: #27102.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.