This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems compiling xsystem35 under cygwin


After fiddling around with library installations and configuration options, I was able to get most of this to work. However, when it goes to link the object files into the final executable, this happens...

BASH-2.05b$ make
/bin/sh ../libtool --mode=link gcc -I/usr/X11R6/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-
2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMODULE_PATH=\"/usr/
local/lib/xsystem35\" -DLOCALEDIR=\""/usr/local/share/locale"\" -O2 -o xsystem
35.exe -rdynamic xsystem35.o dri.o ald_manager.o cache.o cmdb.o cmdc.o cmdd.o cm
de.o cmdf.o cmdg.o cmdh.o cmdi.o cmdj.o cmdk.o cmdl.o cmdm.o cmdn.o cmdo.o cmdp.
o cmdq.o cmds.o cmdt.o cmdu.o cmdv.o cmdw.o cmdy.o cmdz.o cmd2F.o cmd2F60.o pms.
o vsp.o bmp.o qnt.o cali.o scenario.o variable.o cmd_check.o hankana2sjis.o nact
.o selection.o message.o savedata.o hankaku.o s39ain.o music.o music_client.o mu
sic_server.o music_cdrom.o music_midi.o music_pcm.o music_fader.o wavfile.o wavm
ix.o audio.o midi.o cdrom.o sndcnv.o musstream.o pcmlib.o ags.o font.o flood.o c
g.o ecopy.o antialiase.o alpha_plane.o cursor.o LittleEndian.o counter.o imput.o
profile.o mt19937-1.o joystick_dmy.o eucsjis.o filecheck.o menu.o menu_callback
.o menu_gui.o network.o -lz -L/usr/X11R6/lib -lXxf86vm -lXext -lglib-2.0 -lintl
-liconv -lm -Wl,--export-dynamic -L/usr/X11R6/lib -lgtk-x11-2.0 -lX11 -lgdk-x11-
2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-
2.0 -lglib-2.0 -lintl -liconv -lm -L/usr/lib -lesd -laudiofile -lm -lintl -licon
v ../libltdl/libltdlc.la alpha_blend16.o haveunit.o audio_esd.o cdrom.empty.o mi
di.extplayer.o xcore_draw.o xcore_video.o xcore_mode.o xcore_event.o xcore_curso
r.o xcore_maskupdate.o image.o font_x11.o
gcc -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/
usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/include/atk-1.
0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/l
ib/glib-2.0/include -DMODULE_PATH=\"/usr/local/lib/xsystem35\" -DLOCALEDIR=\"/us
r/local/share/locale\" -O2 -o xsystem35.exe -rdynamic xsystem35.o dri.o ald_mana
ger.o cache.o cmdb.o cmdc.o cmdd.o cmde.o cmdf.o cmdg.o cmdh.o cmdi.o cmdj.o cmd
k.o cmdl.o cmdm.o cmdn.o cmdo.o cmdp.o cmdq.o cmds.o cmdt.o cmdu.o cmdv.o cmdw.o
cmdy.o cmdz.o cmd2F.o cmd2F60.o pms.o vsp.o bmp.o qnt.o cali.o scenario.o varia
ble.o cmd_check.o hankana2sjis.o nact.o selection.o message.o savedata.o hankaku
.o s39ain.o music.o music_client.o music_server.o music_cdrom.o music_midi.o mus
ic_pcm.o music_fader.o wavfile.o wavmix.o audio.o midi.o cdrom.o sndcnv.o musstr
eam.o pcmlib.o ags.o font.o flood.o cg.o ecopy.o antialiase.o alpha_plane.o curs
or.o LittleEndian.o counter.o imput.o profile.o mt19937-1.o joystick_dmy.o eucsj
is.o filecheck.o menu.o menu_callback.o menu_gui.o network.o -Wl,--export-dynami
c alpha_blend16.o haveunit.o audio_esd.o cdrom.empty.o midi.extplayer.o xcore_dr
aw.o xcore_video.o xcore_mode.o xcore_event.o xcore_cursor.o xcore_maskupdate.o
image.o font_x11.o -lz -L/usr/X11R6/lib -lXxf86vm -lXext -L/usr/lib .libs/libim
p-cyggtk-x11-2.0-0.a -lX11 .libs/libimp-cyggdk-x11-2.0-0.a .libs/libimp-cygatk-1
.0-0.a .libs/libimp-cyggdk_pixbuf-2.0-0.a .libs/libimp-cygpangox-1.0-0.a .libs/l
ibimp-cygpango-1.0-0.a .libs/libimp-cyggobject-2.0-0.a .libs/libimp-cyggmodule-2
.0-0.a .libs/libimp-cygglib-2.0-0.a -luser32 -lkernel32 .libs/libimp-cygesd-0.a
.libs/libimp-cygaudiofile-0.a .libs/libimp-cygintl-2.a .libs/libimp-cygiconv-2.a
../libltdl/.libs/libltdlc.a -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr
/X11R6/lib
gcc: unrecognized option `-rdynamic'
xsystem35.o(.text+0x1700):xsystem35.c: undefined reference to `_haveUNIT'
xcore_draw.o(.text+0x2b5):xcore_draw.c: undefined reference to `_XShmPutImage'
xcore_draw.o(.text+0xb80):xcore_draw.c: undefined reference to `_XShmPutImage'
xcore_draw.o(.text+0x1b84):xcore_draw.c: undefined reference to `_XShmPutImage'
xcore_video.o(.text+0x4cc):xcore_video.c: undefined reference to `_XShmQueryVers
ion'
xcore_video.o(.text+0x520):xcore_video.c: undefined reference to `_XShmPixmapFor
mat'
xcore_video.o(.text+0xd1c):xcore_video.c: undefined reference to `_XShmCreateIma
ge'
xcore_video.o(.text+0xd3c):xcore_video.c: undefined reference to `_shmget'
xcore_video.o(.text+0xd61):xcore_video.c: undefined reference to `_shmat'
xcore_video.o(.text+0xd85):xcore_video.c: undefined reference to `_XShmAttach'
xcore_video.o(.text+0xeaf):xcore_video.c: undefined reference to `_XShmDetach'
xcore_video.o(.text+0xec2):xcore_video.c: undefined reference to `_shmdt'
xcore_video.o(.text+0xee1):xcore_video.c: undefined reference to `_shmctl'
xcore_video.o(.text+0x11cc):xcore_video.c: undefined reference to `_XShmCreatePi
xmap'
image.o(.text+0x1b5d):image.c: undefined reference to `_ablend16_ppp'
image.o(.text+0x198c):image.c: undefined reference to `_ablend16_dpd'
image.o(.text+0x1d64):image.c: undefined reference to `_ablend16_ppd'
image.o(.text+0x1e81):image.c: undefined reference to `_ablend16_ppd'
collect2: ld returned 1 exit status
make: *** [xsystem35.exe] Error 1


Some places I've looked suggested that this was a problem with symbols not being exported, but the things suggested to do either didn't do anything or made things worse. Something similar also happened when a library couldn't be found, but I'm not sure which library these would be referring to, and I think all the necessary libraries are included here.

Anyone know how I can fix this?

-Morgan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]