Robert Schwebel ha scritto:
> Hmm, difficult to reproduce without having access to the build. Maybe a
> busybox bug which triggers on ubuntu? Try adding 'set +x' to the trylink
> script to debug the issue.
I don't understand where to put 'set +x'
however I solved by now using bash
#!/bin/bash
debug=false
function try {
added="$1"
shift
$debug && echo "Trying: $* $added"
"$@" $added >/dev/null 2>&1 \
&& exit 0
}
try "" "$@"
try "-lm" "$@"
try "-lcrypt" "$@"
try "-Wl,--start-group -lcrypt -lm -Wl,--end-group" "$@"
# It failed. Rerun & let people see the error messages
"$@" $added
next error get up here:
-----------------------
target: hotplug.install
-----------------------
make[1]: Entering directory
`/home/koan/ptxdist/progetti/testarm/build-target/hotplug-2004_03_29'
/usr/bin/install -c -D sbin/hotplug
/home/koan/ptxdist/progetti/testarm/local/arm-linux/sbin/hotplug
/usr/bin/install -c -d
/home/koan/ptxdist/progetti/testarm/local/arm-linux/etc/hotplug/{usb,pci}
/usr/bin/install -c -D etc/hotplug.d/default/default.hotplug
/home/koan/ptxdist/progetti/testarm/local/arm-linux/etc/hotplug.d/default/default.hotplug
for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \
/usr/bin/install -c $F
/home/koan/ptxdist/progetti/testarm/local/arm-linux/etc/hotplug ; \
done
/usr/bin/install: impossibile fare stat di
`etc/hotplug/{*.{agent,rc},hotplug.functions}': Nessun file o directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/home/koan/ptxdist/progetti/testarm/build-target/hotplug-2004_03_29'
error: a command in the pipe returned 2, bailing out
make: *** [/home/koan/ptxdist/progetti/testarm/state/hotplug.install]
Error 2
error: a command in the pipe returned 2, bailing out
any hint ?
TIA
--
ptxdist mailing list
[email protected]