Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#10543 - Cannot make libdownload-1.3 on Gentoo 2007.0 x86_64
Attached to Project:
Pacman
Opened by Antonio Huete Jimenez (tuxillo) - Friday, 30 May 2008, 18:14 GMT
Last edited by Dan McGee (toofishes) - Sunday, 01 June 2008, 14:54 GMT
Opened by Antonio Huete Jimenez (tuxillo) - Friday, 30 May 2008, 18:14 GMT
Last edited by Dan McGee (toofishes) - Sunday, 01 June 2008, 14:54 GMT
|
DetailsSummary and Info:
Cannot make libdownload in Gentoo 2007.0 x86_64 while a compiler error: libdownload-1.3 # make generate ftperr.h generate httperr.h compile download.o compile common.o compile ftp.o compile http.o http.c: In function '_http_print_html': http.c:762: warning: passing argument 2 of 'getline' from incompatible pointer type compile file.o build libdownload.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: common.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC common.o: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libdownload.so] Error 1 Steps to Reproduce: Just when trying to make libdownload-1.3 |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 01 June 2008, 14:54 GMT
Reason for closing: Upstream
Additional comments about closing: Aaron's bug
Sunday, 01 June 2008, 14:54 GMT
Reason for closing: Upstream
Additional comments about closing: Aaron's bug
See attached mini patch :)
libdownload-1.3 # make clean && make
clean
generate ftperr.h
generate httperr.h
compile download.o
compile common.o
compile ftp.o
compile http.o
http.c: In function '_http_print_html':
http.c:762: warning: passing argument 2 of 'getline' from incompatible pointer type
compile file.o
build libdownload.so
build libdownload.a
built with: -fPIC -O2 -pipe -I. -DINET6 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts -Wpointer-arith -Wcast-align -Wsign-compare -UDEBUG
libdownload-1.3 # make clean && make
clean
generate ftperr.h
generate httperr.h
compile download.o
compile common.o
compile ftp.o
compile http.o
http.c: In function '_http_print_html':
http.c:762: warning: passing argument 2 of 'getline' from incompatible pointer type
compile file.o
build libdownload.so
build libdownload.a
built with: -fPIC -O2 -pipe -I. -DINET6 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts -Wpointer-arith -Wcast-align -Wsign-compare -UDEBUG
The Arch PKGBUILD adds -fPIC for x86_64 already.
In the future, please send libdownload bug reports to the author of the software (that's me)