package kmflcomp-0.9.8-1 failed to build from source with "ld --as-needed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kmflcomp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kmflcomp
Package failed to build from source on Ubuntu natty
Here is the error log:
gcc -Wall -g -g -O2 -g -O2 -Wl,-Bsymbolic-
../src/
/home/tarun/
../src/
/home/tarun/
/home/tarun/
/home/tarun/
/home/tarun/
collect2: ld returned 1 exit status
make[3]: *** [kmflcomp] Error 1
make[3]: Leaving directory `/home/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Changed in kmflcomp (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → In Progress |
assignee: | nobody → Tarun K. Mall (c2tarun) |
Changed in kmflcomp (Ubuntu): | |
assignee: | Tarun K. Mall (c2tarun) → nobody |
status: | In Progress → Confirmed |
Changed in kmflcomp (Ubuntu): | |
status: | Incomplete → Opinion |
status: | Opinion → In Progress |
tags: | added: patch |
Thanks, but the fix is not quite right.
-lX11 is wrongly added to kmflcomp_LDFLAGS in kmfl_compiler/ Makefile. am. To fix it, you should move this to kmflcomp_LDADD instead, rather than directly patching the autogenerated Makefile.in.