[Apt-cacher-ng-users] Building under FreeBSD 9

Eduard Bloch edi at gmx.de
Sat Feb 27 23:51:22 UTC 2016


Hallo,
* Adam Baxter [Sun, Feb 28 2016, 12:12:09AM]:
> On 27 February 2016 at 23:44, Eduard Bloch <edi at gmx.de> wrote:
> > Hallo,
> > * Adam Baxter [Sat, Feb 27 2016, 08:03:15PM]:
> >> On 27 February 2016 at 19:46, Adam Baxter <voltagex at voltagex.org> wrote:
> >> > CMakeFiles/apt-cacher-ng.dir/showinfo.cc.o: In function
> >> > `tDeleter::tDeleter(tSpecialRequest::tRunParms const&,
> >> > std::__1::basic_string<char, std::__1::char_traits<char>,
> >> > std::__1::allocator<char> > const&)':
> >> > /usr/home/ec2-user/apt-cacher-ng/source/showinfo.cc:(.text._ZN8tDeleterC2ERKN15tSpecialRequest9tRunParmsERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE+0x59f):
> >> > undefined reference to `DecodeBase64(char const*, unsigned long,
> >> > acbuf&)'
> >> > CC: error: linker command failed with exit code 1 (use -v to see invocation)
> >> >
> >> >
> >>
> >> Fixed the pthread issue with ./distclean.sh && LDFLAGS=-lpthread
> >> ./build.sh, but the DecodeBase64 problem remains.
> >
> > Could you add a VERBOSE option to the build.sh script? The problem
> > shouldn't exist, there is a check for -lpthread.
> >
> 
> Hope this is helpful:
> 
> [100%] Linking CXX executable ../apt-cacher-ng
> cd /usr/home/ec2-user/apt-cacher-ng/builddir/source &&

Not really, sorry. The configuration step results are cached and I would
like to know what it reported WRT pthread in the config check. Please
purge the CMakeCache and CMakeFile* stuff (or run distclean.sh) and try
again.

Best regards,
Eduard.

-- 
Nicht ein Zehnteil würd´ ein Herr des Bösen tun, müßt er es selbst mit
eignen Händen tun.
		-- Heinrich von Kleist



More information about the Apt-cacher-ng-users mailing list