You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rob Dijkshoorn <ro...@sara.nl> on 2004/09/02 07:59:04 UTC

Problems building subversion client under AIX

Hi,

I have problems building subversion 1.0.6 as a client only application on AIX 5.1 ML5. This with both xlc and gcc. 

I follow the recommended steps from the INSTALL document:
configure --without-berkeley-db
make -j4 external-all
make -j4 local-all
make check
make install

Make check returns with no errors, make install complains about being unable to install files in /usr/local (when running make install as root) and finally spits out: 

 subversion/svnversion/svnversion . /repos/svn/trunk > /usr/local/include/subversion-1/svn-revision.txt
exec(): 0509-036 Cannot load program lt-svnversion because of the following errors:
        0509-130 Symbol resolution failed for lt-svnversion because:
        0509-136   Symbol strcpy (number 180) is not exported from
                   dependent module /usr/local/lib/libz.a(shr.o).
        0509-136   Symbol strcat (number 181) is not exported from
                   dependent module /usr/local/lib/libz.a(shr.o).
        0509-136   Symbol memmove (number 182) is not exported from
                   dependent module /usr/local/lib/libz.a(shr.o).
        0509-136   Symbol bcopy (number 183) is not exported from
                   dependent module /usr/local/lib/libz.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
make: 1254-004 The error code from the last command is 255.

Any suggestions?

-- 
Met vriendelijke groet,
Best regards,
Rob Dijkshoorn
Systems Programmer 

SARA Reken- en Netwerkdiensten                      
High Performance Computing      
T: 020 – 5928035
E: rob@sara.nl
 
http://www.sara.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Problems building subversion client under AIX

Posted by Steve Greenland <st...@lsli.com>.
On Thu, Sep 02, 2004 at 09:59:04AM +0200, Rob Dijkshoorn wrote:
> Hi,
> 
> I have problems building subversion 1.0.6 as a client only application on AIX 5.1 ML5. This with both xlc and gcc. 
> 
>  subversion/svnversion/svnversion . /repos/svn/trunk > /usr/local/include/subversion-1/svn-revision.txt
> exec(): 0509-036 Cannot load program lt-svnversion because of the following errors:
>         0509-130 Symbol resolution failed for lt-svnversion because:
>         0509-136   Symbol strcpy (number 180) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-136   Symbol strcat (number 181) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-136   Symbol memmove (number 182) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-136   Symbol bcopy (number 183) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-192 Examine .loader section symbols with the
>                  'dump -Tv' command.
> make: 1254-004 The error code from the last command is 255.

This looks like the kind of stuff you get when mixing objects from gcc
and xlc. I've had problems with configure scrips sometimes picking up
one, other times the other. In particular, you might look at the libz
build as being out-of-sync.

Note that there's no problem with using a shared library created by
xlc in a gcc compiled program, nor vice-versa, but mixing static
objects seems to cause problems, because (I think) of differing inline
optimizations for small common functions like strcat, memmove, etc.,
which is exactly where you are having a problem.

Steve


-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems building subversion client under AIX

Posted by Travis P <sv...@castle.fastmail.fm>.
On Sep 3, 2004, at 10:22 AM, Rob Dijkshoorn wrote:

> Just wondering... has anyone here actually built a working version on 
> an AIX box?

Yes, a few of us have.  I built the client-only on AIX 5.1.  I built my 
own libz and openssl and used CPPFLAGS/LDFLAGS to use them.  This is 
how I configured and built 1.0.1 a few months ago:

env PATH=.:/pkg-aix51/openssl-0.9.7d-pfix/bin:/usr/bin 
CPPFLAGS="-I/pkg-aix51/zlib-1.1.4/include 
-I/pkg-aix51/openssl-0.9.7d-pfix/include" 
LDFLAGS="-L/pkg-aix51/zlib-1.1.4/lib 
-L/pkg-aix51/openssl-0.9.7d-pfix/lib" CC="cc" CFLAGS="-qmaxmem=-1 -O2 
-qlanglvl=extended " ./configure --prefix=/pkg-aix51/subversion-1.0.1 
--with-ssl --with-zlib --enable-shared=no --without-berkeley-db

env PATH=.:/pkg-aix51/openssl-0.9.7d-pfix/bin:/usr/bin 
CPPFLAGS="-I/pkg-aix51/zlib-1.1.4/include 
-I/pkg-aix51/openssl-0.9.7d-pfix/include" 
LDFLAGS="-L/pkg-aix51/zlib-1.1.4/lib 
-L/pkg-aix51/openssl-0.9.7d-pfix/lib" CC="cc" CFLAGS="-qmaxmem=-1 -O2 
-qlanglvl=extended " /usr/bin/make

I used only xlc for all builds.

-Travis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problems building subversion client under AIX

Posted by Rob Dijkshoorn <ro...@sara.nl>.
On Thu, 2 Sep 2004 09:59:04 +0200
Rob Dijkshoorn <ro...@sara.nl> wrote:

> Hi,
> 
> I have problems building subversion 1.0.6 as a client only application on AIX 5.1 ML5. This with both xlc and gcc. 
> 
> I follow the recommended steps from the INSTALL document:
> configure --without-berkeley-db
> make -j4 external-all
> make -j4 local-all
> make check
> make install
> 
> Make check returns with no errors, make install complains about being unable to install files in /usr/local (when running make install as root) and finally spits out: 
> 
>  subversion/svnversion/svnversion . /repos/svn/trunk > /usr/local/include/subversion-1/svn-revision.txt
> exec(): 0509-036 Cannot load program lt-svnversion because of the following errors:
>         0509-130 Symbol resolution failed for lt-svnversion because:
>         0509-136   Symbol strcpy (number 180) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-136   Symbol strcat (number 181) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-136   Symbol memmove (number 182) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-136   Symbol bcopy (number 183) is not exported from
>                    dependent module /usr/local/lib/libz.a(shr.o).
>         0509-192 Examine .loader section symbols with the
>                  'dump -Tv' command.
> make: 1254-004 The error code from the last command is 255.
> 
> Any suggestions?
> 

 
Just wondering... has anyone here actually built a working version on an AIX box? 

-- 
Met vriendelijke groet,
Best regards,
Rob Dijkshoorn
Systems Programmer 

SARA Reken- en Netwerkdiensten                      
High Performance Computing      
T: 020 – 5928035
E: rob@sara.nl
 
http://www.sara.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org