[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4415) cross-compiling impossible (ucgendat is executed, but is cross compiled) - reopening issue 4363



mangoo@wpkg.org wrote:
> Full_Name: Tomasz Chmielewski
> Version: 2.3.20
> OS: Linux
> URL: 
> Submission from: (NULL) (217.140.77.210)
>
>
> According to "OpenLDAP 2.3.20 Release":
> Build Environment
> 		Fixed liblunicode cross compiling problem (ITS#4363)
>
> However, the problem persists when trying to cross-compile 2.3.20:
>
>   
It works for me:

mandolin:~build/cds3/ldap23/libraries/liblunicode> make clean
rm -f liblunicode.a ../liblunicode.a  \
   ucdata.c ucgendat.c ure.c urestubs.c \
*.o *.lo a.out *.exe core version.c .libs/* \
        ../`basename liblunicode.a .la`.so* \
        ../`basename liblunicode.a .la`*.dll
mandolin:~build/cds3/ldap23/libraries/liblunicode> ls -l
total 869
-rw-r--r--  1 hyc users   7457 2005-10-07 15:04 CompositionExclusions.txt
drwxr-xr-x  2 hyc users    152 2006-02-23 13:48 CVS
-rw-r--r--  1 hyc users  18741 2006-02-23 13:53 Makefile
-rw-r--r--  1 hyc users   1478 2006-02-23 13:48 Makefile.in
drwxr-xr-x  3 hyc users    440 2006-01-12 18:45 ucdata
-rw-r--r--  1 hyc users   1312 2005-10-07 15:04 UCD-Terms
-rw-r--r--  1 hyc users   9419 2006-01-12 18:45 ucstr.c
-rw-r--r--  1 hyc users 836989 2005-10-07 15:04 UnicodeData.txt
drwxr-xr-x  3 hyc users    176 2006-01-12 18:45 ure
drwxr-xr-x  3 hyc users    176 2006-01-12 18:45 utbm
mandolin:~build/cds3/ldap23/libraries/liblunicode> make
rm -f version.c
../../build/mkversion -v "2.3.20" liblunicode.a > version.c
touch .links
gcc -pipe -g -O2 -I../../include        -I../../include   
-I/home/build/c3/opt/symas/include     -c -o ucdata.o ucdata.c
gcc -pipe -g -O2 -I../../include        -I../../include   
-I/home/build/c3/opt/symas/include     -c -o ure.o ure.c
gcc -pipe -g -O2 -I../../include        -I../../include   
-I/home/build/c3/opt/symas/include     -c -o urestubs.o urestubs.c
gcc -pipe -g -O2 -I../../include        -I../../include   
-I/home/build/c3/opt/symas/include     -c -o ucstr.o ucstr.c
gcc -pipe -g -O2 -I../../include        -I../../include   
-I/home/build/c3/opt/symas/include     -c -o version.o version.c
ar ru liblunicode.a ucdata.o ure.o urestubs.o ucstr.o version.o
ar: creating liblunicode.a
mandolin:~build/cds3/ldap23/libraries/liblunicode> ls -l
total 1477
-rw-r--r--  1 hyc users   7457 2005-10-07 15:04 CompositionExclusions.txt
drwxr-xr-x  2 hyc users    152 2006-02-23 13:48 CVS
-rw-r--r--  1 hyc users 303922 2006-02-23 14:17 liblunicode.a
-rw-r--r--  1 hyc users  18741 2006-02-23 13:53 Makefile
-rw-r--r--  1 hyc users   1478 2006-02-23 13:48 Makefile.in
drwxr-xr-x  3 hyc users    440 2006-01-12 18:45 ucdata
lrwxrwxrwx  1 hyc users     15 2006-02-23 14:17 ucdata.c -> ucdata/ucdata.c
lrwxrwxrwx  1 hyc users     15 2006-02-23 14:17 ucdata.h -> ucdata/ucdata.h
-rw-r--r--  1 hyc users 198080 2006-02-23 14:17 ucdata.o
-rw-r--r--  1 hyc users   1312 2005-10-07 15:04 UCD-Terms
lrwxrwxrwx  1 hyc users     17 2006-02-23 14:17 ucgendat.c -> 
ucdata/ucgendat.c
-rw-r--r--  1 hyc users   9419 2006-01-12 18:45 ucstr.c
-rw-r--r--  1 hyc users  23768 2006-02-23 14:17 ucstr.o
lrwxrwxrwx  1 hyc users     16 2006-02-23 14:17 uctable.h -> 
ucdata/uctable.h
-rw-r--r--  1 hyc users 836989 2005-10-07 15:04 UnicodeData.txt
drwxr-xr-x  3 hyc users    176 2006-01-12 18:45 ure
lrwxrwxrwx  1 hyc users      9 2006-02-23 14:17 ure.c -> ure/ure.c
lrwxrwxrwx  1 hyc users      9 2006-02-23 14:17 ure.h -> ure/ure.h
-rw-r--r--  1 hyc users  71088 2006-02-23 14:17 ure.o
lrwxrwxrwx  1 hyc users     14 2006-02-23 14:17 urestubs.c -> ure/urestubs.c
-rw-r--r--  1 hyc users   7744 2006-02-23 14:17 urestubs.o
drwxr-xr-x  3 hyc users    176 2006-01-12 18:45 utbm
-rw-r--r--  1 hyc users    794 2006-02-23 14:17 version.c
-rw-r--r--  1 hyc users   2272 2006-02-23 14:17 version.o
mandolin:~build/cds3/ldap23/libraries/liblunicode>

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/