Ticket #2271 (closed bug: invalid)
checking whether -lc should be explicitly linked in results in a yes
| Reported by: | scottmc | Owned by: | axeld |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | - General | Version: | R1/pre-alpha1 |
| Keywords: | Cc: | andreasf | |
| Blocked By: | Has a Patch: | no | |
| Platform: | All | Blocking: |
Description
While trying to build libSDL under Haiku as i586-haiku, the configure check for -lc results in a "yes", causing make to fail for not finding -lc. This may or may not be a problem with Haiku. but changing to --build=i586-beos also it to build.
From the config.log output:
configure:8437: checking whether -lc should be explicitly linked in configure:8442: gcc -c -I/boot/home/config/include -I./include -D_GNU_SOURCE=1 -I./include -D_GNU_SOURCE=1 conftest.c >&5 configure:8445: $? = 0 configure:8460: gcc -nostart conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:8463: $? = 1 configure:8475: result: yes
Change History
comment:2 Changed 2 years ago by bonefish
- Status changed from new to closed
- Resolution set to invalid
As already written on the HaikuPorts mailing list, I don't see how that would be a Haiku problem. Even if it were a related bug in the auto tools port (which I don't think it is), let's track it at HaikuPorts.
My best guess is that you haven't run libtoolize correctly, BTW.
Note: See
TracTickets for help on using
tickets.
