Rohit,

On Mittwoch, 12. November 2008, Rohit Pandita wrote:
> Thanks Robert and Jurgen for the urls. It seems I need a built kernel
> with source tree to make the kernel module. I tried to build the root
> filesystem using ptxdist-1.0.1 and BSP_tiny6, but unsuccessful. I get
> the following error at busybox build stage,
>
> ../build-target/busybox-1.4.2/scripts/trylink: 11: Syntax error: "}"
> unexpected
> make[1]: *** [busybox_unstripped] Error 2
>
> Can you help me here?

Do you use ubunty on your host system? If yes, you should change to 
ptxdist-1.0.2 (its the most recent from stable series, so you can use it with 
your current BSP). ptxdist-1.0.2 comes with a patch that fix the failure you 
see:

---------------------------------------------------------------------
From: Marc Kleine-Budde <[EMAIL PROTECTED]>
Subject: Fix trylink script to work with /bin/dash

Signed-off-by: Marc Kleine-Budde <[EMAIL PROTECTED]>

---
 scripts/trylink |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: busybox-1.4.2/scripts/trylink
===================================================================
--- busybox-1.4.2.orig/scripts/trylink
+++ busybox-1.4.2/scripts/trylink
@@ -2,7 +2,7 @@

 debug=false

-function try {
+try() {
     added="$1"
     shift
     $debug && echo "Trying: $* $added"
---------------------------------------------------------------------

Regards,
Juergen

-- 
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9

--
ptxdist mailing list
[email protected]

Reply via email to