Browse Source
./load unixclient env.o utoa.o `cat socket.lib` .../usr/bglibs/lib/libsysdeps.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make: *** [unixclient] Error 1 they are symlinked, but -lbg-sysdeps pass and -lsysdeps doesn'tuser/amery/cross
Alejandro Mery
17 years ago
2 changed files with 31 additions and 1 deletions
@ -0,0 +1,30 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
# |
||||||
|
# Filename: package/.../ucspi-unix/bglibs.patch.cross |
||||||
|
# Copyright (C) 2008 The OpenSDE Project |
||||||
|
# |
||||||
|
# More information can be found in the files COPYING and README. |
||||||
|
# |
||||||
|
# This patch file is dual-licensed. It is available under the license the |
||||||
|
# patched project is licensed under, as long as it is an OpenSource license |
||||||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||||
|
# of the GNU General Public License as published by the Free Software |
||||||
|
# Foundation; either version 2 of the License, or (at your option) any later |
||||||
|
# version. |
||||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||||
|
|
||||||
|
when cross-compiling ucspi-unix fails because libsysdeps.a isn't indexed, but |
||||||
|
libbg-sysdeps.a is... but they are symlinked! *weird* |
||||||
|
|
||||||
|
--- ./Makefile.orig 2008-03-15 18:49:54.000000000 +0000 |
||||||
|
+++ ./Makefile 2008-03-15 18:50:06.000000000 +0000 |
||||||
|
@@ -63,7 +63,7 @@ |
||||||
|
load: conf-ld |
||||||
|
( echo '#!/bin/sh';\ |
||||||
|
echo 'main="$$1"; shift';\ |
||||||
|
- echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\ |
||||||
|
+ echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps;\ |
||||||
|
) >load |
||||||
|
chmod 755 load |
||||||
|
|
Loading…
Reference in new issue