I'm not sure if this is really X11-related, but not sure where to ask this question. I am trying to compile and link xdiskusage, a nifty little utility. I am getting lots of undefined symbols, and I'm wondering if anyone knows the magic link line to fix it? Thanks very much for any pointers
root@richcookmac (xdiskusage-1.48): make c++ -Wall -O2 -I/usr/local/include -c panels.C c++ -Wall -O2 -I/usr/local/include -c xdiskusage.C xdiskusage.C: In static member function 'static OutputWindow* OutputWindow::make(const char*, Disk*)': xdiskusage.C:495: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' xdiskusage.C:513: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' c++ -o xdiskusage panels.o xdiskusage.o -L/usr/local/lib -L/usr/X11R6/lib -lfltk -lXinerama -lGL -lGLU -lX11 -lXext -lm /usr/bin/ld: Undefined symbols: _AECountItems _AECreateDesc _AEDisposeDesc _AEGetNthPtr _AEGetParamDesc _AEInstallEventHandler _AEProcessAppleEvent _AERemoveEventHandler _AppendResMenu _BringToFront etc..
-- Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4037, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (925) 423-9605 (925) 423-6961 --- Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. (opinions expressed herein are mine and not those of LLNL)
|