Changes between Version 30 and Version 31 of CommonProblems
- Timestamp:
- 11/13/09 12:43:50 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommonProblems
v30 v31 27 27 The -lm refers to libm which isn't needed for Haiku or BeOS as the math library is part of libroot and linked by default 28 28 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. 29 Please 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. 30 If 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. 30 31 31 32 Here is some explanation: 32 33 http://www.freelists.org/archives/haiku-development/04-2008/msg00904.html 33 34 34 === No SDL/SDL.h found===35 === -lc === 35 36 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. 37 This 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. 42 38 43 39 === conflicting types for `restrict' (Now fixed in Haiku) ===
