HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 30 and Version 31 of CommonProblems


Ignore:
Timestamp:
11/13/09 12:43:50 (6 years ago)
Author:
scottmc
Comment:

updated -lm section, this could be further expanded using a real example of a working patch. Removed the SDL/SDL.h and opened a trac ticket to fix it rather than just using a hack to work around it.

Legend:

Unmodified
Added
Removed
Modified
  • CommonProblems

    v30 v31  
    2727The -lm refers to libm which isn't needed for Haiku or BeOS as the math library is part of libroot and linked by default 
    2828 
    29 You can simply create a shortcut of libroot.so and rename to libm.so on gcc4 and gcc2 lib directory (Haiku hybrids case) or you can change the -lm references in the configure file to -lroot. 
     29Please DO NOT create a shortcut of libroot.so and rename to libm.so on gcc4 and gcc2 lib directory (Haiku hybrids case) or change the -lm references in the configure file to -lroot. 
     30If the port is using the autotools chances are this can be fixed by doing an AC_CHECK_LIB for cos in m and then setting a variable such as LIBM or MLIB to by ="-lm" if true or "" if not. 
    3031 
    3132Here is some explanation: 
    3233http://www.freelists.org/archives/haiku-development/04-2008/msg00904.html 
    3334 
    34 === No SDL/SDL.h found === 
     35=== -lc === 
    3536 
    36 If after changing all the file paths in the configure file and continue to receive this message, even with the libSDL installed, it is because the configuration file is searching for the /tmp folder 
    37  
    38 Copy the SDL folder in /boot/common/include to  
    39 /boot/var/tmp/common/include 
    40  
    41 resolves the problem. 
     37This sometimes turns up, and I think it is due to the port using an older libtool.  Try running libtoolize --force --copy --install, aclocal, autoconf and automake before ./configure to see if that clears it up. 
    4238 
    4339=== conflicting types for `restrict' (Now fixed in Haiku) === 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/