build "program" failed

5 views
Skip to first unread message

joe

unread,
Aug 11, 2011, 11:03:04 PM8/11/11
to KiWin window system
Hi,

I found KiWin and tried to build by following the instructions on a
linux box. However, the build process failed with the target
"program" for some missing files. I wondered where and how to get
these files.

Wei

unread,
Aug 12, 2011, 12:11:32 AM8/12/11
to ki...@googlegroups.com
Hi, Joe,

Which files are missing?

--
You received this message because you are subscribed to the Google Groups "KiWin window system" group.
To post to this group, send email to ki...@googlegroups.com.
To unsubscribe from this group, send email to kiwin+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/kiwin?hl=en.


joe

unread,
Aug 12, 2011, 1:54:31 AM8/12/11
to KiWin window system
Hi,

Thanks for prompt response. Following is an error message running the
command, "make program"

kwRootWnd.c:21: fatal error: kwgsshr/kwdefs.h: No such file or
directory

Best Regards,
-Jeff

On 8月12日, 下午12時11分, Wei <wei.hu...@gmail.com> wrote:
> Hi, Joe,
>
> Which files are missing?
>
> Wei Huhttp://code.google.com/u/wei.hu.tw/http://www.csie.ntu.edu.tw/~r88052/
>
> 2011/8/12 joe <jyhj...@gmail.com>
>
>
>
> > Hi,
>
> > I found KiWin and tried to build by following the instructions on a
> > linux box.  However, the build process failed with the target
> > "program" for some missing files.  I wondered where and how to get
> > these files.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "KiWin window system" group.
> > To post to this group, send email to ki...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > kiwin+un...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/kiwin?hl=en.- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

Wei

unread,
Aug 12, 2011, 2:15:09 AM8/12/11
to ki...@googlegroups.com
Hi, Joe,

It's strange, I have no idea why this file is missing or why this file is appear in kwRootWnd.c
maybe you could delete that #include in kwRootWnd.c to see if it can be compiled or get some error msgs?

joe

unread,
Aug 12, 2011, 7:11:04 AM8/12/11
to KiWin window system
Hi,


I did a bit of hackings but still found many missing symbols in
kwRootWnd along, such as

kwRootWnd.o: In function `main':
kwRootWnd.c:(.text+0x28): undefined reference to
`new_main_window_complex'
kwRootWnd.c:(.text+0x38): undefined reference to `new_gc'
kwRootWnd.c:(.text+0x4c): undefined reference to `select_events'
kwRootWnd.c:(.text+0x54): undefined reference to `map_window'
kwRootWnd.c:(.text+0x5c): undefined reference to `get_next_event'
kwRootWnd.c:(.text+0x80): undefined reference to `set_gc_background'
kwRootWnd.c:(.text+0xa4): undefined reference to `fill_rect'
kwRootWnd.c:(.text+0xc4): undefined reference to
`new_main_window_complex'
kwRootWnd.c:(.text+0xec): undefined reference to
`new_main_window_complex'

Without disrespect, still I wondered how did it get compile the first
place.

On 8月12日, 下午2時15分, Wei <wei.hu...@gmail.com> wrote:
> Hi, Joe,
>
> It's strange, I have no idea why this file is missing or why this file is
> appear in kwRootWnd.c
> maybe you could delete that #include in kwRootWnd.c to see if it can be
> compiled or get some error msgs?
>
> Wei Huhttp://code.google.com/u/wei.hu.tw/http://www.csie.ntu.edu.tw/~r88052/
>
> > > >http://groups.google.com/group/kiwin?hl=en.-隱藏被引用文字 -

Wei

unread,
Aug 15, 2011, 10:32:10 PM8/15/11
to ki...@googlegroups.com
Hi, Joe,

I have no idea why these function are undefined, because they are indeed defined in the source codes.
ex: could you see the object file generated from kwgssrv_wnd.c? because map_window is defined in it.
Reply all
Reply to author
Forward
0 new messages