[Gpg4win-devel] gpg4win build error - libksba-1.0.8: libgpg-error is needed

Emanuel Schütze emanuel at intevation.de
Mon Jul 19 14:26:37 CEST 2010


On 16.07.2010 10:07, Emanuel Schütze wrote:
> I run into a libksba 1.0.8 build error while building gpg4win-svn1473:

With gpg4win-svn1476 I get a new build error with gpgex:

[..]
ln -sf /home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libassuan-2.0.0/lib/libassuan.a
ln -sf /home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libgpg-error-1.8/lib/libgpg-error.a
i586-mingw32msvc-g++ -I/home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libassuan-2.0.0/include -
I/home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libgpg-error-1.8/include -I/home/emanuel/gpg4wi
n/trunk/src/playground/install/pkgs/libgpg-error-1.8/include -shared -g -O2 -Wall -mms-bitfields   -o 
gp
gex.dll icons.o registry.o exechelp.o w32-gettext.o gpgex-class.o 
gpgex-factory.o bitmaps.o gpgex.o clie
nt.o main.o  
versioninfo.o ../../gpgex-0.9.6/src/gpgex.def -L . -lshell32 -lgdi32 -lole32 -luuid ./libas
suan.a ./libgpg-error.a -lws2_32 -loleaut32
./libgpg-error.a(libgpg_error_la-init.o):init.c:(.text+0x336): multiple 
definition of `_DllMain at 12'
main.o:/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src/../../gpgex-0.9.6/src/main
.cc:206: first defined here
collect2: ld returned 1 exit status
make[5]: *** [gpgex.dll] Error 1
make[5]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make[3]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make  all-recursive
make[4]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
Making all in doc
make[5]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/doc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/doc'
Making all in src
make[5]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src'
i586-mingw32msvc-g++ -I/home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libassuan-2.0.0/include -
I/home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libgpg-error-1.8/include -I/home/emanuel/gpg4wi
n/trunk/src/playground/install/pkgs/libgpg-error-1.8/include -shared -g -O2 -Wall -mms-bitfields   -o 
gp
gex.dll icons.o registry.o exechelp.o w32-gettext.o gpgex-class.o 
gpgex-factory.o bitmaps.o gpgex.o clie
nt.o main.o  
versioninfo.o ../../gpgex-0.9.6/src/gpgex.def -L . -lshell32 -lgdi32 -lole32 -luuid ./libas
suan.a ./libgpg-error.a -lws2_32 -loleaut32
./libgpg-error.a(libgpg_error_la-init.o):init.c:(.text+0x336): multiple 
definition of `_DllMain at 12'
main.o:/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src/../../gpgex-0.9.6/src/main
.cc:206: first defined here
collect2: ld returned 1 exit status
make[5]: *** [gpgex.dll] Error 1
make[5]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make[3]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make  all-recursive
make[4]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
Making all in doc
make[5]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/doc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/doc'
Making all in src
make[5]: Entering directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src'
i586-mingw32msvc-g++ -I/home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libassuan-2.0.0/include -
I/home/emanuel/gpg4win/trunk/src/playground/install/pkgs/libgpg-error-1.8/include -I/home/emanuel/gpg4wi
n/trunk/src/playground/install/pkgs/libgpg-error-1.8/include -shared -g -O2 -Wall -mms-bitfields   -o 
gp
gex.dll icons.o registry.o exechelp.o w32-gettext.o gpgex-class.o 
gpgex-factory.o bitmaps.o gpgex.o clie
nt.o main.o  
versioninfo.o ../../gpgex-0.9.6/src/gpgex.def -L . -lshell32 -lgdi32 -lole32 -luuid ./libas
suan.a ./libgpg-error.a -lws2_32 -loleaut32
./libgpg-error.a(libgpg_error_la-init.o):init.c:(.text+0x336): multiple 
definition of `_DllMain at 12'
main.o:/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src/../../gpgex-0.9.6/src/main
.cc:206: first defined here
collect2: ld returned 1 exit status
make[5]: *** [gpgex.dll] Error 1
make[5]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/emanuel/gpg4win/trunk/src/playground/build/gpgex-0.9.6-build'
make[2]: *** [stamps/stamp-gpgex-03-make] Error 2
make[2]: Leaving directory `/home/emanuel/gpg4win/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emanuel/gpg4win/trunk'
make: *** [all] Error 2


Regards
Emanuel

-- 
Emanuel Schütze  |  ++49-541-33 50 83 - 746  |  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner



More information about the Gpg4win-devel mailing list