Board.KolibriOS.org

Official KolibriOS board
It is currently Mon Mar 08, 2021 4:52 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 120 posts ]  Go to page Previous 14 5 6 7 8
Author Message
PostPosted: Tue Nov 17, 2020 9:51 pm 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Заменил в makefile ld на kos32-ld
Теперь на неправильные библиотеки не ругается, но:
Spoiler: Show
Code:
    LINK build/mupdf
include/stub/crt0.o: In function `start':
(.text+0xc): undefined reference to `_crt1_startup'
include/stub/crt0.o: In function `_menuet__memsize':
(.text+0x1c): undefined reference to `_menuet__app_param_area'
include/stub/crt0.o: In function `_menuet__memsize':
(.text+0x20): undefined reference to `_menuet__app_path_area'
build/kos_main.o: In function `kol_cofflib_procload':
kos_main.c:(.text+0x462): undefined reference to `strcmp'
build/kos_main.o: In function `kol_cofflib_procname':
kos_main.c:(.text+0x510): undefined reference to `strcpy'
build/kos_main.o: In function `kol_path_file2dir':
kos_main.c:(.text+0x5a8): undefined reference to `strcpy'
kos_main.c:(.text+0x5b6): undefined reference to `strlen'
build/kos_main.o: In function `kol_path_full':
kos_main.c:(.text+0x61d): undefined reference to `strncpy'
kos_main.c:(.text+0x63b): undefined reference to `strcmp'
kos_main.c:(.text+0x656): undefined reference to `strcmp'
kos_main.c:(.text+0x671): undefined reference to `strcmp'
kos_main.c:(.text+0x686): undefined reference to `strcpy'
build/kos_main.o: In function `kos_random':
kos_main.c:(.text+0x83d): undefined reference to `srand'
kos_main.c:(.text+0x845): undefined reference to `rand'
build/kos_main.o: In function `winwarn':
kos_main.c:(.text+0x909): undefined reference to `_dj_stderr'
kos_main.c:(.text+0x90e): undefined reference to `fprintf'
build/kos_main.o: In function `winerror':
kos_main.c:(.text+0x936): undefined reference to `fz_catch_imp'
kos_main.c:(.text+0x943): undefined reference to `exit'
build/kos_main.o: In function `wintitle':
kos_main.c:(.text+0x972): undefined reference to `strrchr'
kos_main.c:(.text+0x98b): undefined reference to `sprintf'
build/kos_main.o: In function `winclose':
kos_main.c:(.text+0x9b2): undefined reference to `_menuet__sys_exit'
build/kos_main.o: In function `winblit':
kos_main.c:(.text+0xb3f): undefined reference to `malloc'
kos_main.c:(.text+0xc35): undefined reference to `free'
build/kos_main.o: In function `HandleNewPageNumber':
kos_main.c:(.text+0xf0c): undefined reference to `itoa'
kos_main.c:(.text+0xf20): undefined reference to `strcat'
kos_main.c:(.text+0xf57): undefined reference to `strlen'
kos_main.c:(.text+0xf86): undefined reference to `strlen'
kos_main.c:(.text+0xfae): undefined reference to `_menuet__write_text'
build/kos_main.o: In function `DrawPagination':
kos_main.c:(.text+0x1043): undefined reference to `sprintf'
kos_main.c:(.text+0x1052): undefined reference to `strlen'
kos_main.c:(.text+0x1081): undefined reference to `strlen'
kos_main.c:(.text+0x10a9): undefined reference to `_menuet__write_text'
build/kos_main.o: In function `DrawToolbarButton':
kos_main.c:(.text+0x10e2): undefined reference to `_menuet__make_button'
kos_main.c:(.text+0x110b): undefined reference to `_menuet__putimage'
build/kos_main.o: In function `DrawWindow':
kos_main.c:(.text+0x1234): undefined reference to `_menuet__make_button'
build/kos_main.o: In function `main':
kos_main.c:(.text+0x149a): undefined reference to `_menuet__sys_exit'
kos_main.c:(.text+0x14cb): undefined reference to `fz_accelerate'
kos_main.c:(.text+0x157b): undefined reference to `_menuet__get_screen_max'
kos_main.c:(.text+0x1588): undefined reference to `_menuet__set_bitfield_for_wanted_events'
kos_main.c:(.text+0x1590): undefined reference to `_menuet__wait_for_event'
kos_main.c:(.text+0x15c3): undefined reference to `_menuet__window_redraw'
kos_main.c:(.text+0x1638): undefined reference to `_menuet__define_window'
kos_main.c:(.text+0x1645): undefined reference to `_menuet__window_redraw'
kos_main.c:(.text+0x1657): undefined reference to `_menuet__get_process_table'
kos_main.c:(.text+0x1692): undefined reference to `_menuet__getkey'
kos_main.c:(.text+0x17ae): undefined reference to `_menuet__get_button_id'
kos_main.c:(.text+0x17bc): undefined reference to `_menuet__sys_exit'
kos_main.c:(.text+0x1822): undefined reference to `_menuet__write_text'
kos_main.c:(.text+0x183d): undefined reference to `_menuet__write_text'
kos_main.c:(.text+0x1876): undefined reference to `_menuet__write_text'
build/pdfapp.o: In function `pdfapp_warn':
pdfapp.c:(.text+0x20): undefined reference to `vsprintf'
build/pdfapp.o: In function `pdfapp_init':
pdfapp.c:(.text+0x81): undefined reference to `memset'
build/pdfapp.o: In function `pdfapp_open_pdf':
pdfapp.c:(.text+0x273): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x283): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x29a): undefined reference to `pdf_open_xref'
pdfapp.c:(.text+0x2b3): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x2d5): undefined reference to `fz_rethrow_imp'
pdfapp.c:(.text+0x2f2): undefined reference to `fz_close'
pdfapp.c:(.text+0x302): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x314): undefined reference to `pdf_load_page_tree'
pdfapp.c:(.text+0x32d): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x34f): undefined reference to `fz_rethrow_imp'
pdfapp.c:(.text+0x36e): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x380): undefined reference to `pdf_count_pages'
pdfapp.c:(.text+0x398): undefined reference to `_menuet__debug_out'
build/pdfapp.o: In function `pdfapp_open':
pdfapp.c:(.text+0x3bd): undefined reference to `fz_new_glyph_cache'
build/pdfapp.o: In function `pdfapp_close':
pdfapp.c:(.text+0x48b): undefined reference to `fz_free_glyph_cache'
pdfapp.c:(.text+0x4b1): undefined reference to `fz_drop_pixmap'
pdfapp.c:(.text+0x4d7): undefined reference to `pdf_free_outline'
pdfapp.c:(.text+0x50d): undefined reference to `pdf_free_store'
pdfapp.c:(.text+0x52c): undefined reference to `pdf_free_xref'
pdfapp.c:(.text+0x53e): undefined reference to `fz_flush_warnings'
build/pdfapp.o: In function `pdfapp_viewctm':
pdfapp.c:(.text+0x54f): undefined reference to `fz_identity'
pdfapp.c:(.text+0x557): undefined reference to `fz_identity'
pdfapp.c:(.text+0x55f): undefined reference to `fz_identity'
pdfapp.c:(.text+0x567): undefined reference to `fz_identity'
pdfapp.c:(.text+0x56f): undefined reference to `fz_identity'
build/pdfapp.o:pdfapp.c:(.text+0x577): more undefined references to `fz_identity' follow
build/pdfapp.o: In function `pdfapp_viewctm':
pdfapp.c:(.text+0x59e): undefined reference to `fz_translate'
pdfapp.c:(.text+0x5d1): undefined reference to `fz_concat'
pdfapp.c:(.text+0x634): undefined reference to `fz_scale'
pdfapp.c:(.text+0x66a): undefined reference to `fz_concat'
pdfapp.c:(.text+0x6f8): undefined reference to `fz_scale'
pdfapp.c:(.text+0x72e): undefined reference to `fz_concat'
pdfapp.c:(.text+0x794): undefined reference to `fz_rotate'
pdfapp.c:(.text+0x7ca): undefined reference to `fz_concat'
build/pdfapp.o: In function `pdfapp_loadpage_pdf':
pdfapp.c:(.text+0x9ed): undefined reference to `pdf_load_page'
pdfapp.c:(.text+0xa54): undefined reference to `fz_new_display_list'
pdfapp.c:(.text+0xa6b): undefined reference to `fz_new_list_device'
pdfapp.c:(.text+0xa83): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa89): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa8f): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa95): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa9b): undefined reference to `fz_identity'
build/pdfapp.o:pdfapp.c:(.text+0xaa1): more undefined references to `fz_identity' follow
build/pdfapp.o: In function `pdfapp_loadpage_pdf':
pdfapp.c:(.text+0xaab): undefined reference to `pdf_run_page'
pdfapp.c:(.text+0xae3): undefined reference to `fz_rethrow_imp'
pdfapp.c:(.text+0xb05): undefined reference to `fz_free_device'
pdfapp.c:(.text+0xb14): undefined reference to `pdf_free_page'
pdfapp.c:(.text+0xb2b): undefined reference to `pdf_age_store'
build/pdfapp.o: In function `pdfapp_showpage':
pdfapp.c:(.text+0xb6e): undefined reference to `fz_free_display_list'
pdfapp.c:(.text+0xb8a): undefined reference to `fz_free_text_span'
pdfapp.c:(.text+0xba6): undefined reference to `pdf_free_link'
pdfapp.c:(.text+0xbe0): undefined reference to `fz_new_text_span'
pdfapp.c:(.text+0xbf7): undefined reference to `fz_new_text_device'
pdfapp.c:(.text+0xc09): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc0f): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc15): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc1b): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc21): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc27): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc2d): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc33): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc39): undefined reference to `fz_identity'
build/pdfapp.o:pdfapp.c:(.text+0xc3f): more undefined references to `fz_identity' follow
build/pdfapp.o: In function `pdfapp_showpage':
pdfapp.c:(.text+0xc48): undefined reference to `fz_execute_display_list'
pdfapp.c:(.text+0xc56): undefined reference to `fz_free_device'
pdfapp.c:(.text+0xc92): undefined reference to `sprintf'
pdfapp.c:(.text+0xcfe): undefined reference to `fz_transform_rect'
pdfapp.c:(.text+0xd1c): undefined reference to `fz_round_rect'
pdfapp.c:(.text+0xd38): undefined reference to `fz_drop_pixmap'
pdfapp.c:(.text+0xd4a): undefined reference to `fz_device_gray'
pdfapp.c:(.text+0xd54): undefined reference to `fz_device_bgr'
pdfapp.c:(.text+0xd7a): undefined reference to `fz_new_pixmap_with_rect'
pdfapp.c:(.text+0xd99): undefined reference to `fz_clear_pixmap_with_color'
pdfapp.c:(.text+0xdb2): undefined reference to `fz_new_draw_device'
pdfapp.c:(.text+0xe03): undefined reference to `fz_execute_display_list'
pdfapp.c:(.text+0xe11): undefined reference to `fz_free_device'
pdfapp.c:(.text+0xe5e): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0xf96): undefined reference to `fz_flush_warnings'
build/pdfapp.o: In function `pdfapp_gotouri':
pdfapp.c:(.text+0xfae): undefined reference to `fz_to_str_len'
pdfapp.c:(.text+0xfbd): undefined reference to `fz_malloc'
pdfapp.c:(.text+0xfce): undefined reference to `fz_to_str_len'
pdfapp.c:(.text+0xfde): undefined reference to `fz_to_str_buf'
pdfapp.c:(.text+0xfee): undefined reference to `memcpy'
pdfapp.c:(.text+0xffc): undefined reference to `fz_to_str_len'
pdfapp.c:(.text+0x1025): undefined reference to `fz_free'
build/pdfapp.o: In function `pdfapp_gotopage':
pdfapp.c:(.text+0x1046): undefined reference to `pdf_find_page_number'
pdfapp.c:(.text+0x1084): undefined reference to `memmove'
build/pdfapp.o: In function `bboxcharat':
pdfapp.c:(.text+0x1161): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x1169): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x1172): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x117b): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x11a9): undefined reference to `fz_empty_bbox'
build/pdfapp.o:pdfapp.c:(.text+0x11b1): more undefined references to `fz_empty_bbox' follow
build/pdfapp.o: In function `pdfapp_inverthit':
pdfapp.c:(.text+0x127e): undefined reference to `fz_transform_bbox'
pdfapp.c:(.text+0x12a0): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12a8): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12b0): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12b8): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12e1): undefined reference to `fz_union_bbox'
pdfapp.c:(.text+0x1339): undefined reference to `fz_transform_bbox'
build/pdfapp.o: In function `match':
pdfapp.c:(.text+0x1466): undefined reference to `_dj_ctype_tolower'
pdfapp.c:(.text+0x147e): undefined reference to `_dj_ctype_tolower'
build/pdfapp.o: In function `pdfapp_searchforward':
pdfapp.c:(.text+0x150e): undefined reference to `strlen'
build/pdfapp.o: In function `pdfapp_onkey':
pdfapp.c:(.text+0x1855): undefined reference to `strlen'
pdfapp.c:(.text+0x1cd5): undefined reference to `atoi'
pdfapp.c:(.text+0x1d23): undefined reference to `atoi'
pdfapp.c:(.text+0x1d88): undefined reference to `memmove'
pdfapp.c:(.text+0x1de8): undefined reference to `atoi'
pdfapp.c:(.text+0x1ea0): undefined reference to `atoi'
pdfapp.c:(.text+0x1ef3): undefined reference to `atoi'
pdfapp.c:(.text+0x1f44): undefined reference to `atoi'
pdfapp.c:(.text+0x1f97): undefined reference to `atoi'
build/pdfapp.o: In function `pdfapp_onmouse':
pdfapp.c:(.text+0x21e3): undefined reference to `fz_invert_matrix'
pdfapp.c:(.text+0x222e): undefined reference to `fz_transform_point'
pdfapp.c:(.text+0x22f2): undefined reference to `fz_array_get'
build/pdfapp.o: In function `pdfapp_oncopy':
pdfapp.c:(.text+0x29de): undefined reference to `fz_transform_bbox'

Что то не нравится все равно


Top
   
PostPosted: Tue Nov 17, 2020 11:09 pm 
Offline
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 84
maxcodehack wrote:
Заменил в makefile ld на kos32-ld
Теперь на неправильные библиотеки не ругается, но:
Spoiler: Show
Code:
    LINK build/mupdf
include/stub/crt0.o: In function `start':
(.text+0xc): undefined reference to `_crt1_startup'
include/stub/crt0.o: In function `_menuet__memsize':
(.text+0x1c): undefined reference to `_menuet__app_param_area'
include/stub/crt0.o: In function `_menuet__memsize':
(.text+0x20): undefined reference to `_menuet__app_path_area'
build/kos_main.o: In function `kol_cofflib_procload':
kos_main.c:(.text+0x462): undefined reference to `strcmp'
build/kos_main.o: In function `kol_cofflib_procname':
kos_main.c:(.text+0x510): undefined reference to `strcpy'
build/kos_main.o: In function `kol_path_file2dir':
kos_main.c:(.text+0x5a8): undefined reference to `strcpy'
kos_main.c:(.text+0x5b6): undefined reference to `strlen'
build/kos_main.o: In function `kol_path_full':
kos_main.c:(.text+0x61d): undefined reference to `strncpy'
kos_main.c:(.text+0x63b): undefined reference to `strcmp'
kos_main.c:(.text+0x656): undefined reference to `strcmp'
kos_main.c:(.text+0x671): undefined reference to `strcmp'
kos_main.c:(.text+0x686): undefined reference to `strcpy'
build/kos_main.o: In function `kos_random':
kos_main.c:(.text+0x83d): undefined reference to `srand'
kos_main.c:(.text+0x845): undefined reference to `rand'
build/kos_main.o: In function `winwarn':
kos_main.c:(.text+0x909): undefined reference to `_dj_stderr'
kos_main.c:(.text+0x90e): undefined reference to `fprintf'
build/kos_main.o: In function `winerror':
kos_main.c:(.text+0x936): undefined reference to `fz_catch_imp'
kos_main.c:(.text+0x943): undefined reference to `exit'
build/kos_main.o: In function `wintitle':
kos_main.c:(.text+0x972): undefined reference to `strrchr'
kos_main.c:(.text+0x98b): undefined reference to `sprintf'
build/kos_main.o: In function `winclose':
kos_main.c:(.text+0x9b2): undefined reference to `_menuet__sys_exit'
build/kos_main.o: In function `winblit':
kos_main.c:(.text+0xb3f): undefined reference to `malloc'
kos_main.c:(.text+0xc35): undefined reference to `free'
build/kos_main.o: In function `HandleNewPageNumber':
kos_main.c:(.text+0xf0c): undefined reference to `itoa'
kos_main.c:(.text+0xf20): undefined reference to `strcat'
kos_main.c:(.text+0xf57): undefined reference to `strlen'
kos_main.c:(.text+0xf86): undefined reference to `strlen'
kos_main.c:(.text+0xfae): undefined reference to `_menuet__write_text'
build/kos_main.o: In function `DrawPagination':
kos_main.c:(.text+0x1043): undefined reference to `sprintf'
kos_main.c:(.text+0x1052): undefined reference to `strlen'
kos_main.c:(.text+0x1081): undefined reference to `strlen'
kos_main.c:(.text+0x10a9): undefined reference to `_menuet__write_text'
build/kos_main.o: In function `DrawToolbarButton':
kos_main.c:(.text+0x10e2): undefined reference to `_menuet__make_button'
kos_main.c:(.text+0x110b): undefined reference to `_menuet__putimage'
build/kos_main.o: In function `DrawWindow':
kos_main.c:(.text+0x1234): undefined reference to `_menuet__make_button'
build/kos_main.o: In function `main':
kos_main.c:(.text+0x149a): undefined reference to `_menuet__sys_exit'
kos_main.c:(.text+0x14cb): undefined reference to `fz_accelerate'
kos_main.c:(.text+0x157b): undefined reference to `_menuet__get_screen_max'
kos_main.c:(.text+0x1588): undefined reference to `_menuet__set_bitfield_for_wanted_events'
kos_main.c:(.text+0x1590): undefined reference to `_menuet__wait_for_event'
kos_main.c:(.text+0x15c3): undefined reference to `_menuet__window_redraw'
kos_main.c:(.text+0x1638): undefined reference to `_menuet__define_window'
kos_main.c:(.text+0x1645): undefined reference to `_menuet__window_redraw'
kos_main.c:(.text+0x1657): undefined reference to `_menuet__get_process_table'
kos_main.c:(.text+0x1692): undefined reference to `_menuet__getkey'
kos_main.c:(.text+0x17ae): undefined reference to `_menuet__get_button_id'
kos_main.c:(.text+0x17bc): undefined reference to `_menuet__sys_exit'
kos_main.c:(.text+0x1822): undefined reference to `_menuet__write_text'
kos_main.c:(.text+0x183d): undefined reference to `_menuet__write_text'
kos_main.c:(.text+0x1876): undefined reference to `_menuet__write_text'
build/pdfapp.o: In function `pdfapp_warn':
pdfapp.c:(.text+0x20): undefined reference to `vsprintf'
build/pdfapp.o: In function `pdfapp_init':
pdfapp.c:(.text+0x81): undefined reference to `memset'
build/pdfapp.o: In function `pdfapp_open_pdf':
pdfapp.c:(.text+0x273): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x283): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x29a): undefined reference to `pdf_open_xref'
pdfapp.c:(.text+0x2b3): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x2d5): undefined reference to `fz_rethrow_imp'
pdfapp.c:(.text+0x2f2): undefined reference to `fz_close'
pdfapp.c:(.text+0x302): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x314): undefined reference to `pdf_load_page_tree'
pdfapp.c:(.text+0x32d): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x34f): undefined reference to `fz_rethrow_imp'
pdfapp.c:(.text+0x36e): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0x380): undefined reference to `pdf_count_pages'
pdfapp.c:(.text+0x398): undefined reference to `_menuet__debug_out'
build/pdfapp.o: In function `pdfapp_open':
pdfapp.c:(.text+0x3bd): undefined reference to `fz_new_glyph_cache'
build/pdfapp.o: In function `pdfapp_close':
pdfapp.c:(.text+0x48b): undefined reference to `fz_free_glyph_cache'
pdfapp.c:(.text+0x4b1): undefined reference to `fz_drop_pixmap'
pdfapp.c:(.text+0x4d7): undefined reference to `pdf_free_outline'
pdfapp.c:(.text+0x50d): undefined reference to `pdf_free_store'
pdfapp.c:(.text+0x52c): undefined reference to `pdf_free_xref'
pdfapp.c:(.text+0x53e): undefined reference to `fz_flush_warnings'
build/pdfapp.o: In function `pdfapp_viewctm':
pdfapp.c:(.text+0x54f): undefined reference to `fz_identity'
pdfapp.c:(.text+0x557): undefined reference to `fz_identity'
pdfapp.c:(.text+0x55f): undefined reference to `fz_identity'
pdfapp.c:(.text+0x567): undefined reference to `fz_identity'
pdfapp.c:(.text+0x56f): undefined reference to `fz_identity'
build/pdfapp.o:pdfapp.c:(.text+0x577): more undefined references to `fz_identity' follow
build/pdfapp.o: In function `pdfapp_viewctm':
pdfapp.c:(.text+0x59e): undefined reference to `fz_translate'
pdfapp.c:(.text+0x5d1): undefined reference to `fz_concat'
pdfapp.c:(.text+0x634): undefined reference to `fz_scale'
pdfapp.c:(.text+0x66a): undefined reference to `fz_concat'
pdfapp.c:(.text+0x6f8): undefined reference to `fz_scale'
pdfapp.c:(.text+0x72e): undefined reference to `fz_concat'
pdfapp.c:(.text+0x794): undefined reference to `fz_rotate'
pdfapp.c:(.text+0x7ca): undefined reference to `fz_concat'
build/pdfapp.o: In function `pdfapp_loadpage_pdf':
pdfapp.c:(.text+0x9ed): undefined reference to `pdf_load_page'
pdfapp.c:(.text+0xa54): undefined reference to `fz_new_display_list'
pdfapp.c:(.text+0xa6b): undefined reference to `fz_new_list_device'
pdfapp.c:(.text+0xa83): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa89): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa8f): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa95): undefined reference to `fz_identity'
pdfapp.c:(.text+0xa9b): undefined reference to `fz_identity'
build/pdfapp.o:pdfapp.c:(.text+0xaa1): more undefined references to `fz_identity' follow
build/pdfapp.o: In function `pdfapp_loadpage_pdf':
pdfapp.c:(.text+0xaab): undefined reference to `pdf_run_page'
pdfapp.c:(.text+0xae3): undefined reference to `fz_rethrow_imp'
pdfapp.c:(.text+0xb05): undefined reference to `fz_free_device'
pdfapp.c:(.text+0xb14): undefined reference to `pdf_free_page'
pdfapp.c:(.text+0xb2b): undefined reference to `pdf_age_store'
build/pdfapp.o: In function `pdfapp_showpage':
pdfapp.c:(.text+0xb6e): undefined reference to `fz_free_display_list'
pdfapp.c:(.text+0xb8a): undefined reference to `fz_free_text_span'
pdfapp.c:(.text+0xba6): undefined reference to `pdf_free_link'
pdfapp.c:(.text+0xbe0): undefined reference to `fz_new_text_span'
pdfapp.c:(.text+0xbf7): undefined reference to `fz_new_text_device'
pdfapp.c:(.text+0xc09): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc0f): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc15): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc1b): undefined reference to `fz_infinite_bbox'
pdfapp.c:(.text+0xc21): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc27): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc2d): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc33): undefined reference to `fz_identity'
pdfapp.c:(.text+0xc39): undefined reference to `fz_identity'
build/pdfapp.o:pdfapp.c:(.text+0xc3f): more undefined references to `fz_identity' follow
build/pdfapp.o: In function `pdfapp_showpage':
pdfapp.c:(.text+0xc48): undefined reference to `fz_execute_display_list'
pdfapp.c:(.text+0xc56): undefined reference to `fz_free_device'
pdfapp.c:(.text+0xc92): undefined reference to `sprintf'
pdfapp.c:(.text+0xcfe): undefined reference to `fz_transform_rect'
pdfapp.c:(.text+0xd1c): undefined reference to `fz_round_rect'
pdfapp.c:(.text+0xd38): undefined reference to `fz_drop_pixmap'
pdfapp.c:(.text+0xd4a): undefined reference to `fz_device_gray'
pdfapp.c:(.text+0xd54): undefined reference to `fz_device_bgr'
pdfapp.c:(.text+0xd7a): undefined reference to `fz_new_pixmap_with_rect'
pdfapp.c:(.text+0xd99): undefined reference to `fz_clear_pixmap_with_color'
pdfapp.c:(.text+0xdb2): undefined reference to `fz_new_draw_device'
pdfapp.c:(.text+0xe03): undefined reference to `fz_execute_display_list'
pdfapp.c:(.text+0xe11): undefined reference to `fz_free_device'
pdfapp.c:(.text+0xe5e): undefined reference to `_menuet__debug_out'
pdfapp.c:(.text+0xf96): undefined reference to `fz_flush_warnings'
build/pdfapp.o: In function `pdfapp_gotouri':
pdfapp.c:(.text+0xfae): undefined reference to `fz_to_str_len'
pdfapp.c:(.text+0xfbd): undefined reference to `fz_malloc'
pdfapp.c:(.text+0xfce): undefined reference to `fz_to_str_len'
pdfapp.c:(.text+0xfde): undefined reference to `fz_to_str_buf'
pdfapp.c:(.text+0xfee): undefined reference to `memcpy'
pdfapp.c:(.text+0xffc): undefined reference to `fz_to_str_len'
pdfapp.c:(.text+0x1025): undefined reference to `fz_free'
build/pdfapp.o: In function `pdfapp_gotopage':
pdfapp.c:(.text+0x1046): undefined reference to `pdf_find_page_number'
pdfapp.c:(.text+0x1084): undefined reference to `memmove'
build/pdfapp.o: In function `bboxcharat':
pdfapp.c:(.text+0x1161): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x1169): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x1172): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x117b): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x11a9): undefined reference to `fz_empty_bbox'
build/pdfapp.o:pdfapp.c:(.text+0x11b1): more undefined references to `fz_empty_bbox' follow
build/pdfapp.o: In function `pdfapp_inverthit':
pdfapp.c:(.text+0x127e): undefined reference to `fz_transform_bbox'
pdfapp.c:(.text+0x12a0): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12a8): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12b0): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12b8): undefined reference to `fz_empty_bbox'
pdfapp.c:(.text+0x12e1): undefined reference to `fz_union_bbox'
pdfapp.c:(.text+0x1339): undefined reference to `fz_transform_bbox'
build/pdfapp.o: In function `match':
pdfapp.c:(.text+0x1466): undefined reference to `_dj_ctype_tolower'
pdfapp.c:(.text+0x147e): undefined reference to `_dj_ctype_tolower'
build/pdfapp.o: In function `pdfapp_searchforward':
pdfapp.c:(.text+0x150e): undefined reference to `strlen'
build/pdfapp.o: In function `pdfapp_onkey':
pdfapp.c:(.text+0x1855): undefined reference to `strlen'
pdfapp.c:(.text+0x1cd5): undefined reference to `atoi'
pdfapp.c:(.text+0x1d23): undefined reference to `atoi'
pdfapp.c:(.text+0x1d88): undefined reference to `memmove'
pdfapp.c:(.text+0x1de8): undefined reference to `atoi'
pdfapp.c:(.text+0x1ea0): undefined reference to `atoi'
pdfapp.c:(.text+0x1ef3): undefined reference to `atoi'
pdfapp.c:(.text+0x1f44): undefined reference to `atoi'
pdfapp.c:(.text+0x1f97): undefined reference to `atoi'
build/pdfapp.o: In function `pdfapp_onmouse':
pdfapp.c:(.text+0x21e3): undefined reference to `fz_invert_matrix'
pdfapp.c:(.text+0x222e): undefined reference to `fz_transform_point'
pdfapp.c:(.text+0x22f2): undefined reference to `fz_array_get'
build/pdfapp.o: In function `pdfapp_oncopy':
pdfapp.c:(.text+0x29de): undefined reference to `fz_transform_bbox'

Что то не нравится все равно

Смотри если например kos_main.c:(.text+0x61d): undefined reference to `strncpy' то это значит что нужно #include <string.h> где-то добавить

_________________
The best way to predict the future is to create it.


Top
   
PostPosted: Wed Nov 18, 2020 9:45 am 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Leency wrote:
У мя тоже не на всех линуксах собиралось. Там прикол наверно в разных версиях GCC.

rgimad

На некоторых linux это не нужно делать. Вроде бы все инклуды указаны, и все библиотеки линкуются, но вот что.

_________________
:arrow: Image


Top
   
PostPosted: Mon Nov 23, 2020 11:35 am 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Edit: Неактуально, уже все хорошо собирается, и на newlib
Наконец-то получилось собрать!
Сборка подразумевает собрать crt0 makefile'ом в include/stub (или положить содержимое crt0.zip в updf/include/stub), создать папку updf/LD, и поместить туда ld.bfd из LD_mupdf.zip, а все остальное из архива LD_mupdf.zip под root'ом положить в /usr/bin/. Положить содержимое scripts.zip в /updf/scripts. И запустить скрипт build2.sh в updf/

И если будет много ошибок multiple definition, уберите их из /updf/include/inlines/pc.h


Attachments:
scripts.zip [49.19 KiB]
Downloaded 29 times
LD_mupdf.zip [1.06 MiB]
Downloaded 28 times
crt0.zip [412 Bytes]
Downloaded 29 times


Last edited by maxcodehack on Thu Dec 17, 2020 3:25 pm, edited 4 times in total.
Top
   
PostPosted: Tue Dec 15, 2020 12:27 pm 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
rev 8402
Залита версия перенесенная на newlib.
Но, она падает. Дело в том что не работает блиттер. Вот при его вызове падает.
rev 8411
Вместо блиттера вставил заглушку, пока что так будет, надо бы подробней разобраться почему при вызове блиттера падает.
rev 8412
Разобрался в чем проблема - надо было volatile перед struct blit_call. Теперь все работает.

_________________
:arrow: Image


Top
   
PostPosted: Tue Dec 15, 2020 3:37 pm 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1177
Зачем надо было добавлять новый каталог для той же программы? Не надо разводить бардак в репозитории.

_________________
я лишь учусь


Top
   
PostPosted: Tue Dec 15, 2020 3:46 pm 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Я не уверен пока что она работает нормально, поэтому залил в другую папку. Сейчас я увепен что все работает. Теперь можно заменить старое.

_________________
:arrow: Image


Top
   
PostPosted: Tue Dec 15, 2020 7:11 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5395
> Сейчас я увепен что все работает.

Можно бинарник в студию для тестирования?

_________________
Звиздеть не мешки ворочать


Top
   
PostPosted: Wed Dec 16, 2020 10:41 am 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Del


Last edited by maxcodehack on Wed Dec 23, 2020 8:36 pm, edited 4 times in total.

Top
   
PostPosted: Wed Dec 16, 2020 1:34 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5395
maxcodehack
Я написал в прошлом сообщении: выложи бинарник для тестирования.
Почему ты не выложил и удалил версию на menuetlibc?

_________________
Звиздеть не мешки ворочать


Top
   
PostPosted: Sat Dec 19, 2020 10:39 am 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
rev 8432
Я удаляю консольные утилиты pdfdraw и pdfextract. Все равно они не собираются, и консольными программами вряд ли кто будет пользоваться.

_________________
:arrow: Image


Last edited by maxcodehack on Sat Dec 19, 2020 1:06 pm, edited 3 times in total.

Top
   
PostPosted: Sat Dec 19, 2020 11:07 am 
Offline

Joined: Tue Apr 12, 2011 11:19 pm
Posts: 1177
Зачем выглаживать на форуме все что удаляешь? Все и так остаётся на свн и легко восстанавливается из истории. Просто укажи в соответствующей теме номер ревизии и что удаляешь.

_________________
я лишь учусь


Top
   
PostPosted: Sun Jan 03, 2021 6:28 pm 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
rev 8506
Настроил автосборку библиотек необходимых для updf.
Теперь не хватает только freetype (вроде настроил уже), zlib, jpeg, png библиотек в автосборке.

_________________
:arrow: Image


Top
   
PostPosted: Fri Feb 19, 2021 12:33 pm 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Я наверно понял почему не собиралась menuetlibc версия.
Библиотеки уже были скомпилированы, обычным gcc, но другой версии, поэтому при использовании другой версии gcc не собиралось. Надо было просто самому библиотеки собирать. Ну а раз теперь на ньюлиб то вообще отлично.

_________________
:arrow: Image


Top
   
PostPosted: Sat Feb 27, 2021 9:50 pm 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 407
Нашел интересную вещь: https://github.com/rofl0r/SDLBook. Для ее портирования не хватает только libdjvu. Там сказано что много форматов поддерживает (когда наш updf только pdf)

_________________
:arrow: Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 120 posts ]  Go to page Previous 14 5 6 7 8

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited