Problems compiling Peazip on OSX lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Yansky · 2010-05-22 10:04 Hi, I'm having some problems compiling Peazip on OSX (10.6) with Lazarus (version 0.9.28.2 beta Rev 22296). I emailed the developer of Peazip but he said that he no longer has access to an OSX machine and wasn't able to help much, so I'm hoping someone here might be able to help me. Here are the warning messages from the compile log from Lazarus while compiling Peazip: Code: [Select] Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.2.4 [2009/04/05] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Darwin for i386 Compiling project_peach.lpr Compiling peach.pas Compiling hash.pas Compiling btypes.pas ...... Assembling peach Assembling project_peach Linking peazip ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/interfacebase.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/interfacebase.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/lclproc.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/lclproc.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/graphtype.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/graphtype.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/graphics.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/graphics.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/controls.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/controls.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/controls.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/controls.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/controls.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/controls.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonint.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbongdiobjects.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbongdiobjects.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/dialogs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/dialogs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/dialogs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/dialogs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbondef.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbondef.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonproc.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carboncanvas.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carboncanvas.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonprivate.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonmenus.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonmenus.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonmenus.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonmenus.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonmenus.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonmenus.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonedits.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonlistviews.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonlistviews.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonlistviews.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonlistviews.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonlistviews.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonlistviews.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbontabs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbontabs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonthemes.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonthemes.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonthemes.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonthemes.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonclipboard.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonclipboard.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonclipboard.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonclipboard.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/comctrls.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/comctrls.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/comctrls.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/comctrls.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/filectrl.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/filectrl.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonwsdialogs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonwsdialogs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonwsdialogs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/carbon/carbonwsdialogs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/extdlgs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/extdlgs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/extdlgs.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/extdlgs.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/grids.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/grids.o ld: warning: unknown stabs type 0xC0 in /Developer/lazarus/lcl/units/i386-darwin/grids.o ld: warning: unknown stabs type 0xE0 in /Developer/lazarus/lcl/units/i386-darwin/grids.o ld: warning: unknown stabs type 0xC0 in aes_eax.o ld: warning: unknown stabs type 0xE0 in aes_eax.o ld: warning: unknown stabs type 0xC0 in aes_eax.o ld: warning: unknown stabs type 0xE0 in aes_eax.o ld: warning: unknown stabs type 0xC0 in aes_eax.o ld: warning: unknown stabs type 0xE0 in aes_eax.o 64535 lines compiled, 24.4 sec 2187 warning(s) issued 1515 hint(s) issued 117 note(s) issued Project "PeaZip" successfully built. :) The complete log is here: http://pastebin.com/qK4bdncL I did a bit of googling and found that other Lazarus users were getting similar error messages during compile (not necessarily with peazip though): http://www.google.com.au/search?q=site:http://forum.lazarus.freepascal .org+unknown+stabs+type+0xC0&hl=en&filter=0 Also, FWIW, this is the error message I get when I try to run the peazip.app that is produced after the compile: http://img.photobucket.com/albums/v215/thegooddale/Screen- shot-2010-05-22-at-71907-PM.png I also tried just running the peazip unix file executable that was produced after the compile from the terminal and I got this: http://img.photobucket.com/albums/v215/thegooddale/Screen- shot-2010-05-22-at-72148-PM.png Here is the info from the project_peach.compiled file: Code: [Select]     From the compile log, it seems that the errors start after it tries to link to peazip. Anyone have any ideas? ---------------------------------------------------------------------- felipemdc · 2010-05-22 17:42 In the end of the message you can see this: Project "PeaZip" successfully built. Therefore there is no error, there is nothing to be fixed. The warnings are related to a bug in the linker distributed with Mac OS X 10.6 and they can be pretty much ignored. Why do you think that something needs fixing? If you want the messages to go away, I would suggest filing a bug report for Apple so that they fix their linker. ---------------------------------------------------------------------- Yansky · 2010-05-22 18:14 Quote from: felipemdc on May 22, 2010, 07:42:23 pmIn the end of the message you can see this: Project "PeaZip" successfully built. Therefore there is no error, there is nothing to be fixed. The warnings are related to a bug in the linker distributed with Mac OS X 10.6 and they can be pretty much ignored. Why do you think that something needs fixing? If you want the messages to go away, I would suggest filing a bug report for Apple so that they fix their linker. When I try to run peazip.app, I get the following error message: http://img.photobucket.com/albums/v215/thegooddale/Screen- shot-2010-05-22-at-71907-PM.png So you're saying it's just the app launcher that's producing the error and not the build? Here is the app launcher that the compile made: http://forboden.com/coding/peazip.app.zip  -  you can use an unzip program to look at the files inside (i.e. unzip it twice). ---------------------------------------------------------------------- skalogryz · 2010-07-18 21:15 Quote from: Yansky on May 22, 2010, 08:14:17 pmWhen I try to run peazip.app, I get the following error message: http://img.photobucket.com/albums/v215/thegooddale/Screen- shot-2010-05-22-at-71907-PM.png Have you deleted peazip unix binary that was generated at the same dir as peazip.app ? If peazip binary is located somewhere else, please copy it into peazip.app/Contents/MacOS/ directory.