2009-01-05 06:24:25     compile error with microwin

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2009-01-05 06:24:25     compile error with microwin

abhrajit datta (INDIA)

Message: 67378   

 

hi

 

when i complile the uclinux distribution with configuration given in http://docs.blackfin.uclinux.org/doku.php?id=the_framebuffer_console

 

i get the following errors:

 

 

make[3]: warning: -jN forced in submake: disabling jobserver mode.

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o: In function `GdOpenKeyboard':

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:18:undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:18:undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o: In function `GdCloseKeyboard':

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:44:undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:44:undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o: In function `GdGetModifierInfo':

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:63:undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o:/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:63: more undefined references to `_kbddev' follow

collect2: ld returned 1 exit status

make[5]: *** [/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/bin/nano-X] Error 1

make[5]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/nanox'

make[4]: *** [subdir-/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/nanox] Error 2

make[4]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src'

make[3]: *** [all] Error 1

make[3]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin'

make[2]: *** [microwin] Error 2

make[2]: *** Waiting for unfinished jobs....

  SPLIT   include/autoconf.h -> include/config/*

  GEN     include/bbconfigopts.h

make[3]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/busybox'

make[2]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

 

 

i am using  uClinux-dist-2008R1.5-RC3 with the bf527 EZkit. Please help

 

abhri

 

 

QuoteReplyEditDelete

 

 

2009-01-05 07:54:47     Re: compile error with microwin

Robin Getz (UNITED STATES)

Message: 67383   

 

Abhrajit:

 

Did you modify any of the config files? (like user/microwin/src/config?)

 

-Robin

QuoteReplyEditDelete

 

 

2009-01-05 08:40:02     Re: compile error with microwin

abhrajit datta (INDIA)

Message: 67385   

 

hi ,

 

yes i modified the user/microwin/src/config file and changed for keyboard configuration as the changes i made by make menuconfig were not reflected in this file.

 

i included tty keyboard.

 

# keyboard or null kbd driver

TTYKBD                   = Y

SCANKBD                  = N

PIPEKBD                  = N

IPAQKBD                  = N

LIRCKBD                  = N

NOKBD                    = N

 

endif

 

 

but when errors came while compiling i changed it back to the initial configuration

 

# keyboard or null kbd driver

TTYKBD                   = N

SCANKBD                  = N

PIPEKBD                  = N

IPAQKBD                  = N

LIRCKBD                  = N

NOKBD                    = Y

 

endif

Still while compiling i get the same errors.

 

Thanks

 

Abhri

QuoteReplyEditDelete

 

 

2009-01-05 10:45:19     Re: compile error with microwin

Robin Getz (UNITED STATES)

Message: 67386   

 

Abhrajit:

 

The microwin build system leaves something to be desired. You need to do a make user/microwin_clean and then try again.

 

-Robin

QuoteReplyEditDelete

 

 

2009-01-06 00:35:20     Re: compile error with microwin

abhrajit datta (INDIA)

Message: 67411   

 

Hi Robin,

 

Using make user/microwin_clean dosen't seem to solve my problem. I am again left with the same set of errors.I paste it below:

 

Compiling nanox/error.c ...

Compiling nanox/clientfb.c ...

Creating library libnano-X.a ...

bfin-uclinux-ar: creating /home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/lib/libnano-X.a

Compiling nanox/srvmain.c ...

Compiling nanox/srvfunc.c ...

Compiling nanox/srvutil.c ...

Compiling nanox/srvevent.c ...

Compiling nanox/srvclip.c ...

Compiling nanox/srvnet.c ...

Linking nano-X ...

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o: In function `GdOpenKeyboard':

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:18: undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:18: undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o: In function `GdCloseKeyboard':

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:44: undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:44: undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o: In function `GdGetModifierInfo':

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:63: undefined reference to `_kbddev'

/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/obj/engine/devkbd.o:/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/engine/devkbd.c:63: more undefined references to `_kbddev' follow

collect2: ld returned 1 exit status

make[5]: *** [/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/bin/nano-X] Error 1

make[5]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/nanox'

make[4]: *** [subdir-/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src/nanox] Error 2

make[4]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin/src'

make[3]: *** [all] Error 1

make[3]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user/microwin'

make[2]: *** [microwin] Error 2

make[2]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/abhrajit/uclinux/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

 

 

Thanks

 

abhri

QuoteReplyEditDelete

 

 

2009-01-06 04:36:30     Re: compile error with microwin

abhrajit datta (INDIA)

Message: 67461   

 

 

 

The microwin build system leaves something to be desired.

 

--- I did not understand what that means... could you explain some more or is there any documentation regarding this?

QuoteReplyEditDelete

 

 

2009-01-06 09:21:39     Re: compile error with microwin

Robin Getz (UNITED STATES)

Message: 67477   

 

Abhrajit:

 

I mean that the build system sucks - if you change the config - you need to do a make clean before a new make.

 

-Robin

QuoteReplyEditDelete

 

 

2009-01-06 09:31:19     Re: compile error with microwin

abhrajit datta (INDIA)

Message: 67478   

 

i guess thats not the problem coz i did that a couple of times with no success.

 

abhri

Attachments

    Outcomes