Hi.
yup, you miss libraries.
Your compiler is not including these flags.
This should not happen if you follow the 'configure' system.

Either use 'configure'
or please explain exactly how you try to compile.
The error messages here are not so interesting...

greets
Niels

Tu Duong Manh wrote:
Hello,

when i try to compile and link a code, i get this message

check.o: In function `main':
check.c:(.text+0x16): undefined reference to `lite_open'
check.c:(.text+0x38): undefined reference to `liteDefaultWindowTheme'
check.c:(.text+0x6d): undefined reference to `lite_new_window'
check.c:(.text+0x82): undefined reference to `lite_new_text_button_theme'
check.c:(.text+0x8d): undefined reference to `liteDefaultCheckTheme'
check.c:(.text+0x97): undefined reference to `lite_new_check_theme'
check.c:(.text+0xd9): undefined reference to `lite_new_text_button'
check.c:(.text+0xed): undefined reference to `lite_on_text_button_press'
check.c:(.text+0xf9): undefined reference to `liteDefaultCheckTheme'
check.c:(.text+0x12b): undefined reference to `lite_new_check'
check.c:(.text+0x132): undefined reference to `liteDefaultCheckTheme'
check.c:(.text+0x169): undefined reference to `lite_new_check'
check.c:(.text+0x178): undefined reference to `lite_set_check_caption'
check.c:(.text+0x18c): undefined reference to `lite_on_check_press'
check.c:(.text+0x1a0): undefined reference to `lite_on_check_press'
check.c:(.text+0x1af): undefined reference to `lite_set_window_opacity'
check.c:(.text+0x1bb): undefined reference to `lite_window_event_loop'
check.c:(.text+0x1c5): undefined reference to `lite_destroy_window'
check.c:(.text+0x1cf): undefined reference to `lite_destroy_text_button_theme'
check.c:(.text+0x1d6): undefined reference to `liteDefaultCheckTheme'
check.c:(.text+0x1db): undefined reference to `lite_destroy_check_theme'
check.c:(.text+0x1e0): undefined reference to `lite_close'
check.o: In function `on_check2_pressed':
check.c:(.text+0x1ff): undefined reference to `lite_enable_text_button'
check.o: In function `on_check1_pressed':
check.c:(.text+0x21f): undefined reference to `lite_enable_check'
check.o: In function `button_pressed':
check.c:(.text+0x234): undefined reference to `lite_close_window'
collect2: ld returned 1 exit status

Can anybody tell me what i'm doing wrong? I believe some linking flags are 
missing.

Greetings from Dresden : )
__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele ausländische Netze zum gleichen Preis! https://produkte.web.de/webde_sms/sms



_______________________________________________
LiTE mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/lite



--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
LiTE mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/lite

Reply via email to