[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 01079] Re: Cygwin



I noticed that Makefile doesn´t contain all necessary libraries. Also, the
dependencies don´t seem to be correct, because it tries to compile mgp.c
before  creating libmpgimage.a.

I added the X11 lib, but there are still some libraries missing. Could
someone point them out to me?

Thanks

$ gcc   mgp.o    -L./image -lmgpimage -lm  -L/usr/lib -lpng  -o mgp
-L/usr/X11R6/lib -lX11
Warning: resolving __Xdebug by linking to __imp___Xdebug (auto-import)
mgp.o(.text+0x214):mgp.c: undefined reference to `cleandir'
mgp.o(.text+0x2b0):mgp.c: undefined reference to `finish_win'
mgp.o(.text+0x377):mgp.c: undefined reference to `mgpwdir'
mgp.o(.text+0x4a2):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x4ae):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x4ba):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x4c1):mgp.c: undefined reference to `verbose'
mgp.o(.text+0x4ce):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x51e):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x534):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x542):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x586):mgp.c: undefined reference to `quality_flag'
mgp.o(.text+0x58f):mgp.c: undefined reference to `caching'
mgp.o(.text+0x59b):mgp.c: undefined reference to `b_quality'
mgp.o(.text+0x5a6):mgp.c: undefined reference to `parse_debug'
mgp.o(.text+0x5b2):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x5de):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x5ea):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x5fa):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x60a):mgp.c: undefined reference to `mgpwdir'
mgp.o(.text+0x63e):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x65d):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x69e):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x6aa):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x6df):mgp.c: undefined reference to `cache_mode'
mgp.o(.text+0x70b):mgp.c: undefined reference to `cache_effect'
mgp.o(.text+0x737):mgp.c: undefined reference to `cache_value'
mgp.o(.text+0x800):mgp.c: undefined reference to `mgp_fname'
mgp.o(.text+0x837):mgp.c: undefined reference to `init_win1'
mgp.o(.text+0x83f):mgp.c: undefined reference to `mgp_fname'
mgp.o(.text+0x8aa):mgp.c: undefined reference to `mgp_fname'
mgp.o(.text+0x8b0):mgp.c: undefined reference to `load_file'
mgp.o(.text+0x8b9):mgp.c: undefined reference to `parse_error'
mgp.o(.text+0x8cd):mgp.c: undefined reference to `init_win2'
mgp.o(.text+0x902):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x91c):mgp.c: undefined reference to `window'
mgp.o(.text+0x927):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x932):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x944):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x95e):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x969):mgp.c: undefined reference to `draw_page'
mgp.o(.text+0x98f):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x999):mgp.c: undefined reference to `init_win3'
mgp.o(.text+0x1101):mgp.c: undefined reference to `window'
mgp.o(.text+0x1109):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x1111):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x1120):mgp.c: undefined reference to `parse_debug'
mgp.o(.text+0x1136):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x118d):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x11a1):mgp.c: undefined reference to `draw_page'
mgp.o(.text+0x12fa):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x1329):mgp.c: undefined reference to `page_title'
mgp.o(.text+0x134d):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x1359):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x142a):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x1439):mgp.c: undefined reference to `state_init'
mgp.o(.text+0x14a8):mgp.c: undefined reference to `state_next'
mgp.o(.text+0x14cb):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x1574):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x1592):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x159b):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x15d1):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x1e34):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x1e41):mgp.c: undefined reference to `display'
mgp.o(.text+0x1f24):mgp.c: undefined reference to `window'
mgp.o(.text+0x1f2e):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x1f38):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x1f56):mgp.c: undefined reference to `display'
mgp.o(.text+0x1f82):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x1f93):mgp.c: undefined reference to `pg_on'
mgp.o(.text+0x1fa2):mgp.c: undefined reference to `pg_draw'
mgp.o(.text+0x1faa):mgp.c: undefined reference to `display'
mgp.o(.text+0x1fb9):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x1fd8):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x2027):mgp.c: undefined reference to `window'
mgp.o(.text+0x202d):mgp.c: undefined reference to `display'
mgp.o(.text+0x2040):mgp.c: undefined reference to `window'
mgp.o(.text+0x2046):mgp.c: undefined reference to `display'
mgp.o(.text+0x2064):mgp.c: undefined reference to `draw_one'
mgp.o(.text+0x2081):mgp.c: undefined reference to `timebar'
mgp.o(.text+0x2097):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x2146):mgp.c: undefined reference to `draw_reinit'
mgp.o(.text+0x214b):mgp.c: undefined reference to `cleanup_file'
mgp.o(.text+0x2153):mgp.c: undefined reference to `mgp_fname'
mgp.o(.text+0x2159):mgp.c: undefined reference to `load_file'
mgp.o(.text+0x2167):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x218a):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x220f):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x222d):mgp.c: undefined reference to `display'
mgp.o(.text+0x223b):mgp.c: undefined reference to `gc_plrev'
mgp.o(.text+0x2247):mgp.c: undefined reference to `pl_pdraw'
mgp.o(.text+0x2253):mgp.c: undefined reference to `pl_title'
mgp.o(.text+0x225d):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x226f):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x228d):mgp.c: undefined reference to `display'
mgp.o(.text+0x229b):mgp.c: undefined reference to `gc_pl'
mgp.o(.text+0x22a7):mgp.c: undefined reference to `pl_pdraw'
mgp.o(.text+0x22b4):mgp.c: undefined reference to `pl_title'
mgp.o(.text+0x22be):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x22da):mgp.c: undefined reference to `window'
mgp.o(.text+0x22ea):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x230a):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x2317):mgp.c: undefined reference to `pl_off'
mgp.o(.text+0x231f):mgp.c: undefined reference to `window'
mgp.o(.text+0x236e):mgp.c: undefined reference to `state_next'
mgp.o(.text+0x237c):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x238e):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x23ea):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x2402):mgp.c: undefined reference to `window'
mgp.o(.text+0x2442):mgp.c: undefined reference to `window'
mgp.o(.text+0x2628):mgp.c: undefined reference to `state_next'
mgp.o(.text+0x263e):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x2658):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x26c8):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x2701):mgp.c: undefined reference to `window'
mgp.o(.text+0x2707):mgp.c: undefined reference to `display'
mgp.o(.text+0x271e):mgp.c: undefined reference to `window'
mgp.o(.text+0x2724):mgp.c: undefined reference to `display'
mgp.o(.text+0x2732):mgp.c: undefined reference to `display'
mgp.o(.text+0x2776):mgp.c: undefined reference to `window'
mgp.o(.text+0x277c):mgp.c: undefined reference to `display'
mgp.o(.text+0x278c):mgp.c: undefined reference to `window'
mgp.o(.text+0x2792):mgp.c: undefined reference to `display'
mgp.o(.text+0x27a3):mgp.c: undefined reference to `display'
mgp.o(.text+0x27f5):mgp.c: undefined reference to `pl_on'
mgp.o(.text+0x283a):mgp.c: undefined reference to `pl_off'
mgp.o(.text+0x2840):mgp.c: undefined reference to `cached_page'
mgp.o(.text+0x2849):mgp.c: undefined reference to `reset_background_pixmap'
mgp.o(.text+0x2856):mgp.c: undefined reference to `draw_reinit'
mgp.o(.text+0x285e):mgp.c: undefined reference to `cleanup_file'
mgp.o(.text+0x2866):mgp.c: undefined reference to `mgp_fname'
mgp.o(.text+0x286c):mgp.c: undefined reference to `load_file'
mgp.o(.text+0x287a):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x289d):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x28c7):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x28d7):mgp.c: undefined reference to `draw_page'
mgp.o(.text+0x290c):mgp.c: undefined reference to `pg_on'
mgp.o(.text+0x2919):mgp.c: undefined reference to `pg_draw'
mgp.o(.text+0x2925):mgp.c: undefined reference to `pg_off'
mgp.o(.text+0x2931):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x2967):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x2974):mgp.c: undefined reference to `state_newpage'
mgp.o(.text+0x2984):mgp.c: undefined reference to `state_init'
mgp.o(.text+0x29b6):mgp.c: undefined reference to `verbose'
mgp.o(.text+0x29c0):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x29e6):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x29f8):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x29fe):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x2a08):mgp.c: undefined reference to `gc_cache'
mgp.o(.text+0x2a0e):mgp.c: undefined reference to `window'
mgp.o(.text+0x2a14):mgp.c: undefined reference to `cachewin'
mgp.o(.text+0x2a1a):mgp.c: undefined reference to `display'
mgp.o(.text+0x2a6b):mgp.c: undefined reference to `pl_off'
mgp.o(.text+0x2a95):mgp.c: undefined reference to `window'
mgp.o(.text+0x2abf):mgp.c: undefined reference to `display'
mgp.o(.text+0x2ad2):mgp.c: undefined reference to `display'
mgp.o(.text+0x2aee):mgp.c: undefined reference to `display'
mgp.o(.text+0x2b05):mgp.c: undefined reference to `window'
mgp.o(.text+0x2b31):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x2b4d):mgp.c: undefined reference to `window'
mgp.o(.text+0x2b57):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x2b63):mgp.c: undefined reference to `display'
mgp.o(.text+0x2b69):mgp.c: undefined reference to `screen'
mgp.o(.text+0x2b88):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x2b93):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x2b9f):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x2bb4):mgp.c: undefined reference to `display'
mgp.o(.text+0x2bcb):mgp.c: undefined reference to `pg_off'
mgp.o(.text+0x2bd8):mgp.c: undefined reference to `pl_off'
mgp.o(.text+0x2be4):mgp.c: undefined reference to `window_width'
mgp.o(.text+0x2bec):mgp.c: undefined reference to `window_height'
mgp.o(.text+0x2bfe):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x2c07):mgp.c: undefined reference to `cached_page'
mgp.o(.text+0x2c10):mgp.c: undefined reference to `reset_background_pixmap'
mgp.o(.text+0x2c15):mgp.c: undefined reference to `reset_background_pixmap'
mgp.o(.text+0x2c22):mgp.c: undefined reference to `draw_reinit'
mgp.o(.text+0x2c3f):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x2c52):mgp.c: undefined reference to `draw_page'
mgp.o(.text+0x2c63):mgp.c: undefined reference to `pg_on'
mgp.o(.text+0x2c70):mgp.c: undefined reference to `pg_draw'
mgp.o(.text+0x2c96):mgp.c: undefined reference to `pg_draw'
mgp.o(.text+0x2caf):mgp.c: undefined reference to `gc_pl'
mgp.o(.text+0x2cc3):mgp.c: undefined reference to `pl_pdraw'
mgp.o(.text+0x2ccb):mgp.c: undefined reference to `gc_plrev'
mgp.o(.text+0x2cde):mgp.c: undefined reference to `pl_pdraw'
mgp.o(.text+0x2cef):mgp.c: undefined reference to `pl_title'
mgp.o(.text+0x2d0a):mgp.c: undefined reference to `maxpage'
mgp.o(.text+0x2d23):mgp.c: undefined reference to `state_goto'
mgp.o(.text+0x2db3):mgp.c: undefined reference to `gcpen'
mgp.o(.text+0x2dc0):mgp.c: undefined reference to `display'
mgp.o(.text+0x2dde):mgp.c: undefined reference to `gcpen'
mgp.o(.text+0x2deb):mgp.c: undefined reference to `display'
mgp.o(.text+0x2e0f):mgp.c: undefined reference to `gcpen'
mgp.o(.text+0x2e1c):mgp.c: undefined reference to `display'
mgp.o(.text+0x2e3f):mgp.c: undefined reference to `gcpen'
mgp.o(.text+0x2e4c):mgp.c: undefined reference to `display'
mgp.o(.text+0x2e6d):mgp.c: undefined reference to `gcpen'
mgp.o(.text+0x2e7a):mgp.c: undefined reference to `display'
mgp.o(.text+0x2ed9):mgp.c: undefined reference to `display'
mgp.o(.text+0x2ede):mgp.c: undefined reference to `screen'
mgp.o(.text+0x2f16):mgp.c: undefined reference to `display'
mgp.o(.text+0x2f1b):mgp.c: undefined reference to `screen'
mgp.o(.text+0x2f48):mgp.c: undefined reference to `display'
mgp.o(.text+0x2f5c):mgp.c: undefined reference to `gcpen'
mgp.o(.text+0x2f62):mgp.c: undefined reference to `display'
mgp.o(.text+0x31a4):mgp.c: undefined reference to `mgp_flag'
mgp.o(.text+0x31b3):mgp.c: undefined reference to `mgp_fname'
mgp.o(.text+0x3206):mgp.c: undefined reference to `window'
mgp.o(.text+0x320c):mgp.c: undefined reference to `display'
mgp.o(.text+0x321a):mgp.c: undefined reference to `display'
./image/libmgpimage.a(misc.o)(.text+0x412):misc.c: undefined reference to
`display'
./image/libmgpimage.a(misc.o)(.text+0x41f):misc.c: undefined reference to
`screen'
./image/libmgpimage.a(xpixmap.o)(.text+0x740):xpixmap.c: undefined
reference to `display'
./image/libmgpimage.a(xpixmap.o)(.text+0x755):xpixmap.c: undefined
reference to `screen'
./image/libmgpimage.a(png.o)(.text+0x3fb):png.c: undefined reference to
`caching'
./image/libmgpimage.a(png.o)(.text+0x404):png.c: undefined reference to
`back_color'
./image/libmgpimage.a(png.o)(.text+0x414):png.c: undefined reference to
`colormap'
./image/libmgpimage.a(png.o)(.text+0x41a):png.c: undefined reference to
`display'
./image/libmgpimage.a(send.o)(.text+0xaf6):send.c: undefined reference to
`colormap'
./image/libmgpimage.a(send.o)(.text+0xc31):send.c: undefined reference to
`image_clr'
./image/libmgpimage.a(send.o)(.text+0xc36):send.c: undefined reference to
`free_alloc_colors'
./image/libmgpimage.a(send.o)(.text+0xd7e):send.c: undefined reference to
`colormap'
./image/libmgpimage.a(send.o)(.text+0xda2):send.c: undefined reference to
`back_clr'
./image/libmgpimage.a(send.o)(.text+0xdb7):send.c: undefined reference to
`image_clr'
./image/libmgpimage.a(send.o)(.text+0xdbc):send.c: undefined reference to
`regist_alloc_colors'
collect2: ld returned 1 exit status


____________________________________________________
Nelio Alves
Equifax do Brasil - System Analyst
+55 -11 3016-6180
nalves@equifax.com.br