[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mgl-alpha-018p6
緒方です。
> mgl2-alpha-018p6 を出しました。
NetBSD/i386 で動かしている人いますか?
NetBSD/i386 1.4U で make に挑戦してみたのですが、bin 以下を make するあたりで
cc -g -O -I../lib -I../lib -I/usr/X11R6/include -L../lib -rdynamic -L/usr/X11R6/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lmgl2 mgl_fontinfo.c -o mgl_fontinfo
/usr/bin/ld: warning: libX11.so.6, needed by ../lib/libmgl2.so, not found (try using --rpath)
../lib/libmgl2.so: undefined reference to `XListPixmapFormats'
../lib/libmgl2.so: undefined reference to `XSync'
../lib/libmgl2.so: undefined reference to `XMapWindow'
../lib/libmgl2.so: undefined reference to `XCloseDisplay'
../lib/libmgl2.so: undefined reference to `XCreateImage'
../lib/libmgl2.so: undefined reference to `XAllocNamedColor'
../lib/libmgl2.so: undefined reference to `XResizeWindow'
../lib/libmgl2.so: undefined reference to `XFreeGC'
../lib/libmgl2.so: undefined reference to `XStringListToTextProperty'
../lib/libmgl2.so: undefined reference to `XLookupString'
../lib/libmgl2.so: undefined reference to `XFree'
../lib/libmgl2.so: undefined reference to `XSetWMProperties'
../lib/libmgl2.so: undefined reference to `XSetWMNormalHints'
../lib/libmgl2.so: undefined reference to `XCreateWindow'
../lib/libmgl2.so: undefined reference to `XSelectInput'
../lib/libmgl2.so: undefined reference to `XCheckMaskEvent'
../lib/libmgl2.so: undefined reference to `XPutImage'
../lib/libmgl2.so: undefined reference to `XCreateGC'
../lib/libmgl2.so: undefined reference to `XOpenDisplay'
collect2: ld returned 1 exit status
gmake[1]: *** [mgl_fontinfo] Error 1
gmake[1]: Leaving directory `/home/ogata/mgl2/mgl2-alpha-018/bin'
gmake: *** [all] Error 2
と Error になってしまいました。
/usr/bin/ld: warning: libX11.so.6, needed by ../lib/libmgl2.so, not found (try using --rpath)
のメッセージから NetBSD ELF FAQ が該当しそうだと思って読んでみましたが
よく理解できませんでした。(泣)
OGATA Hiroshi <ogata@isp.qix.org>