FTBFS sarg 2.3.1-2 in Oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sarg (Debian) |
Fix Released
|
Unknown
|
|||
sarg (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
gcc -lm util.o log.o report.o topuser.o email.o sort.o html.o totger.o index.o getconf.o usage.o decomp.o ip2name.o useragent.o exclude.o convlog.o totday.o repday.o datafile.o indexonly.o sp
/usr/bin/ld: grepday.o: undefined reference to symbol 'exp@@GLIBC_2.0'
/usr/bin/ld: note: 'exp@@GLIBC_2.0' is defined in DSO /usr/lib/
/usr/lib/
collect2: ld returned 1 exit status
make[1]: *** [sarg] Error 1
make[1]: Leaving directory `/tmp/buildd/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /var/cache/
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/
Related branches
summary: |
- Sync sarg 2.3.1-2 (universe) from Debian unstable (main) + FTBFS sarg 2.3.1-2 |
summary: |
- FTBFS sarg 2.3.1-2 + FTBFS sarg 2.3.1-2 in Oneiric |
tags: | added: ftbfs oneiric |
description: | updated |
Changed in sarg (Debian): | |
status: | Unknown → New |
Changed in sarg (Debian): | |
status: | New → Fix Released |
sarg 2.3.1-2 fails to build on oneiric.
-lm needs to be moved to the end of the gcc call.
gcc -lm util.o log.o report.o topuser.o email.o sort.o html.o totger.o index.o getconf.o usage.o decomp.o ip2name.o useragent.o exclude.o convlog.o totday.o repday.o datafile.o indexonly.o splitlog.o lastlog.o topsites.o siteuser.o css.o smartfilter.o denied.o authfail.o charset.o squidguard_log.o squidguard_report.o auth.o download.o grepday.o dansguardian_log.o dansguardian_ report. o realtime.o btree_cache.o usertab.o userinfo.o longline.o -o sarg -lldap -lgd x86_64- linux-gnu/ gcc/x86_ 64-linux- gnu/4.6. 1/../.. /../libm. so so try adding it to the linker command line x86_64- linux-gnu/ gcc/x86_ 64-linux- gnu/4.6. 1/../.. /../libm. so: could not read symbols: Invalid operation
/usr/bin/ld: grepday.o: undefined reference to symbol 'log@@GLIBC_2.2.5'
/usr/bin/ld: note: 'log@@GLIBC_2.2.5' is defined in DSO /usr/lib/
/usr/lib/
collect2: ld returned 1 exit status
make[1]: *** [sarg] Error 1