Hi, 
   I remove *.la files. But still get errors. Here they are. Hope somebody can 
help me with it. Thanks.

Best regards,

Cheng-Ying


bdjvu/.libs/libdjvulibre.dylib -L/sw/lib -L/opt/local/lib -L/sw/lib/qt3/lib 
-lqt-mt -L/usr/X11/lib /opt/local/lib/li Xext.dylib /opt/local/lib/libX11.dylib 
/opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib -ljpeg -liconv -lm
ld: warning: in /opt/local/lib/libXext.dylib, file was built for unsupported 
file format which is not the architectu e being linked (i386)
ld: warning: in /opt/local/lib/libX11.dylib, file was built for unsupported 
file format which is not the architectur  being linked (i386)
ld: warning: in /opt/local/lib/libXau.dylib, file was built for unsupported 
file format which is not the architectur  being linked (i386)
ld: warning: in /opt/local/lib/libXdmcp.dylib, file was built for unsupported 
file format which is not the architect re being linked (i386)
Undefined symbols:
  "_XInitExtension", referenced from:
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
  "_XQueryColors", referenced from:
      QXImager::allocateCell(int, int, int)in qx_imager.o
  "_XrmCombineFileDatabase", referenced from:
      DjVuPrefs::load()     in prefs.o
  "_XCloseDisplay", referenced from:
      AttachWindow()      in dispatch.o
  "_XParseGeometry", referenced from:
      QeApplication::setWidgetGeometry(QWidget*)       in qlib.o
  "_XCreateImage", referenced from:
      QXImager::displayPatchedBitmaps(unsigned long, _XGC*, DJVU::GRect const&, 
int, int, DJVU::GBitmap*, DJVU::GPLi t<QXImager::PatchRect> const&, int)in 
qx_imager.o
      QXImager::displayBitmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
int, DJVU::GBitmap*, int)in qx_imager.o
      QXImager::displayPixmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
int, DJVU::GPixmap*, int)in qx_imager.o
  "_XSendEvent", referenced from:
.
.
.
.

      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
      DetachWindow()      in dispatch.o
      Destroy()     in dispatch.o
      AttachWindow()      in dispatch.o
      QDViewer::checkWMProps()      in qd_viewer.o
  "_XShmPutImage", referenced from:
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
      QXImager::displayPatchedBitmaps(unsigned long, _XGC*, DJVU::GRect const&, 
int, int, DJVU::GBitmap*, DJVU::GPLi t<QXImager::PatchRect> const&, int)in 
qx_imager.o
      QXImager::displayBitmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
int, DJVU::GBitmap*, int)in qx_imager.o
      QXImager::displayPixmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
int, DJVU::GPixmap*, int)in qx_imager.o
  "_XDisplayName", referenced from:
      AttachWindow()      in dispatch.o
  "_XListProperties", referenced from:
      x11GetTopLevelWindow(void*, unsigned long)in qxlib.o
  "_XrmGetStringDatabase", referenced from:
      DjVuPrefs::load()     in prefs.o
  "_XShmGetImage", referenced from:
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
  "_XrmPutStringResource", referenced from:
      DjVuPrefs::setInt(char const*, int)in prefs.o
      DjVuPrefs::setString(char const*, char const*)in prefs.o
      DjVuPrefs::save()     in prefs.o
      DjVuPrefs::save()     in prefs.o
      DjVuPrefs::save()     in prefs.o
...

      DjVuPrefs::save()     in prefs.o
  "_XGetWindowProperty", referenced from:
      QDViewer::checkWMProps()      in qd_viewer.o
      QDViewer::checkWMProps()      in qd_viewer.o
  "_XReparentWindow", referenced from:
      DetachWindow()      in dispatch.o
      Destroy()     in dispatch.o
      AttachWindow()      in dispatch.o
  "_XShmAttach", referenced from:
      DXImage::createPool()      in qx_imager.o
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
  "_XShmDetach", referenced from:
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
      DXImage::~DXImage()in qx_imager.o
      DXImage::~DXImage()in qx_imager.o
  "_XrmGetResource", referenced from:
      DjVuPrefs::getString(char const*)in prefs.o
  "_XAllocColor", referenced from:
      QXImager::allocateCell(int, int, int)in qx_imager.o
      QXImager::allocateCell(int, int, int)in qx_imager.o
  "_XUnmapWindow", referenced from:
      DetachWindow()      in dispatch.o
      Destroy()     in dispatch.o
  "_XCheckWindowEvent", referenced from:
      QDPane::x11Event(_XEvent*)     in qd_pane.o
      QDPane::x11Event(_XEvent*)     in qd_pane.o
  "_XChangeWindowAttributes", referenced from:
      QDPane::QDPane(QWidget*, char const*)in qd_pane.o
  "_XFreeGC", referenced from:
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
      QDPane::~QDPane()in qd_pane.o
      QDPane::~QDPane()in qd_pane.o
  "_XShmCreateImage", referenced from:
      XShmInitializer::Initialize(_XDisplay*)       in qx_imager.o
      QXImager::displayPatchedBitmaps(unsigned long, _XGC*, DJVU::GRect const&, 
int, int, DJVU::GBitmap*, DJVU::GPList<QXImager::PatchRect> const&, int)in 
qx_imager.o
      QXImager::displayBitmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
int, DJVU::GBitmap*, int)in qx_imager.o
      QXImager::displayPixmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
int, DJVU::GPixmap*, int)in qx_imager.o
  "_XKeycodeToKeysym", referenced from:
      QeApplication::x11EventFilter(_XEvent*)       in qlib.o
  "_XCopyArea", referenced from:
      QDPane::scroll(int, int)in qd_pane.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [djview] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.W9lov6 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-djvulibre-3.5.18-1001
(Reading database ... 11387 files and directories currently installed.)
Removing fink-buildlock-djvulibre-3.5.18-1001 ...
Failed: phase compiling: djvulibre-3.5.18-1001 failed





On Aug 19, 2010, at 12:33 AM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Reply to the list, not just to me.  I'm not personal tech support, and
> this isn't my package.  That's why I set the "Reply to" to point to the
> list.
> 
> On 8/18/10 12:26 PM, Cheng-Ying Chou wrote:
>> Dear Mr. Hansen, 
>>   Originally, my computer didn't have the file libXrandr.la. I created the 
>> soft link after failing multiple times.
> 
> To what did you link?
> 
> I have removed it now.
>> I also typed this in the command line, and got the error message   sw/lib/: 
>> is a directory
>> 
>> 
>>> /sw/lib -name *.la -delete
>> 
> 
> Sorry, bad copy/paste there.  It should have been
> 
> find /sw/lib -name *.la -delete
> 
>> I went to /sw/lib and list all the *.la files. Should I just use rm to 
>> delete them?
> 
> Using the now corrected command above will do that recursively.
> 
>> 
>> -rwxr-xr-x  1 root  admin   837 Aug 14 12:23 libdatrie.la
>> -rwxr-xr-x  1 root  admin   837 Aug 14 12:23 libdaemon.la
>> -rwxr-xr-x  1 root  admin   855 Aug 14 12:22 libart_lgpl_2.la
>> -rwxr-xr-x  1 root  admin   814 Aug 14 12:22 liblcms.la
>> -rwxr-xr-x  1 root  admin   800 Aug 14 12:21 libgmp.la
>> -rwxr-xr-x  1 root  admin   832 Aug 14 12:21 libgmpxx.la
>> -rwxr-xr-x  1 root  admin   866 Aug 14 12:14 libglitz-agl.la
>> -rwxr-xr-x  1 root  admin   894 Aug 14 12:14 libglitz-glx.la
>> -rwxr-xr-x  1 root  admin   808 Aug 14 12:14 libglitz.la
>> -rwxr-xr-x  1 root  admin   790 Aug 14 12:13 libgif.la
>> -rwxr-xr-x  1 root  admin   710 Aug 14 12:13 libgdbm.la
>> -rwxr-xr-x  1 root  admin   759 Aug 14 12:13 libgdbm_compat.la
>> lrwxr-xr-x  1 root  admin    14 Aug 14 12:12 libglut.la -> libfreeglut.la
>> -rwxr-xr-x  1 root  admin   805 Aug 14 12:12 libfreeglut.la
>> -rwxr-xr-x  1 root  admin   814 Aug 14 12:09 libexpat.la
>> -rw-r--r--  1 root  admin   932 Aug 14 12:04 libdb_stl-4.8.la
>> -rw-r--r--  1 root  admin   932 Aug 14 12:04 libdb_cxx-4.8.la
>> -rw-r--r--  1 root  admin   912 Aug 14 12:04 libdb-4.8.la
>> -rw-r--r--  1 root  admin   814 Aug 14 12:01 libdb_cxx-4.7.la
>> -rw-r--r--  1 root  admin   790 Aug 14 12:01 libdb-4.7.la
>> -rwxr-xr-x  1 root  admin   835 Jun 29 13:53 libasprintf.la
>> -rw-r--r--  1 root  admin   831 Jun 29 13:53 libintl.la
>> lrwxr-xr-x  1 root  admin    19 May 19 12:43 libqt-mt.la -> 
>> qt3/lib/libqt-mt.la
>> -rwxr-xr-x  1 root  admin   647 May 19 12:28 libjpeg.la
>> lrwxr-xr-x  1 root  admin    11 May 19 11:01 libpng.la -> libpng12.la
>> -rwxr-xr-x  1 root  admin   946 May 19 11:01 libpng12.la
>> -rwxr-xr-x  1 root  admin   969 May 19 10:58 libtiff.la
>> -rwxr-xr-x  1 root  admin  1000 May 19 10:58 libtiffxx.la
>> lrwxr-xr-x  1 root  admin    40 May 19 10:56 libfreetype.la -> 
>> /sw/lib/freetype219/./lib/libfreetype.la
>> -rw-r--r--  1 root  admin   828 Mar 29 13:00 libcharset.la
>> -rw-r--r--  1 root  admin   804 Mar 29 13:00 libiconv.la
>> 
>> 
>> After I rm libXranr.la file, the original error message is as follows. 
>> 
>> QXImager::displayBitmap(unsigned long, _XGC*, DJVU::GRect const&, int, int, 
>> DJVU::GBitmap*, int)in qx_imager.o
>>     QXImager::displayPixmap(unsigned long, _XGC*, DJVU::GRect const&, int, 
>> int, DJVU::GPixmap*, int)in qx_imager.o
>> "_XKeycodeToKeysym", referenced from:
>>     QeApplication::x11EventFilter(_XEvent*)       in qlib.o
>> "_XCopyArea", referenced from:
>>     QDPane::scroll(int, int)in qd_pane.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [djview] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [all] Error 2
>> ### execution of /var/tmp/tmp.1.KaSVe0 failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-djvulibre-3.5.18-1001
>> (Reading database ... 11402 files and directories currently installed.)
>> Removing fink-buildlock-djvulibre-3.5.18-1001 ...
>> Failed: phase compiling: djvulibre-3.5.18-1001 failed
>> 
>> Thank you so much for your help.
>> 
>> Sincerely,
>> 
>> Cheng-Ying
>> 
> 
> If you get the same error again after removing the .la files, can you
> post a bit more of the output:  start at the whole line _before_ errors
> occur, so that we can see some context.
> 
> - -- 
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkxsC3cACgkQB8UpO3rKjQ8FwgCfbDkLIwm4MCI0Qp757hG7pMZH
> rYMAn10bYyQX6v7u2n2ZT0I0ODYtYHF5
> =Y8Q9
> -----END PGP SIGNATURE-----

--
Cheng-Ying Chou, Ph.D.
Assistant Professor of Bio-Industrial Mechatronics Engineering
National Taiwan University
No. 1, Sec. 4, Roosevelt Rd, AM-210
Taipei, Taiwan 106
(V) 886-2-3366-9689,  (Fax) 886-2-2362-7620



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to