Opened 17 years ago

Closed 17 years ago

#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: Blocking:
Platform: All

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 (2)

comment:1 by andreasf, 17 years ago

Cc: andreasf added

comment:2 by bonefish, 17 years ago

Resolution: invalid
Status: newclosed

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.