[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nufw-users] compile problem version 2.0 (using -lnuclient in pam_nufw)
From: |
Tilman Baumann |
Subject: |
[Nufw-users] compile problem version 2.0 (using -lnuclient in pam_nufw) |
Date: |
Wed, 24 May 2006 16:21:12 +0200 |
User-agent: |
KMail/1.9.1 |
Hello all,
nice project. ;)
After a long compile session with libnetfilter_* from svn i have just one
problem to solve.
And i may have solved it already. :)
I get the error below.
The fix was to remove -lnuclient frm pam_nufw_la_LDFLAGS in
src/clients/pam_nufw/Makefile.
I don't know how sane that is. But it makes sense to me that you can not use a
lib you are going to build at the moment.
This error might not happen on development machines becaue libnuclient is
already installed. ;)
If this dependency really exists someone might have a look how to set up the
local searchpath properly...
Id did not show any errors without it in my case.
Regards
Tilman Baumann
---- The Error ----
Making all in pam_nufw
make[3]: Entering directory
`/data/home/admin/AppKit/common/net/nufw/nufw-2.0/src/clients/pam_nufw'
if /bin/sh ../../../libtool --tag=CC --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I ../lib
-I../../../include -g -O2 -ansi -Wall -Wextra -Wno-unused-parameter -O2 -MT
pam_nufw_la-pam_nufw.lo -MD -MP -MF ".deps/pam_nufw_la-pam_nufw.Tpo" -c -o
pam_nufw_la-pam_nufw.lo `test -f 'pam_nufw.c' || echo './'`pam_nufw.c; \
then
mv -f ".deps/pam_nufw_la-pam_nufw.Tpo" ".deps/pam_nufw_la-pam_nufw.Plo"; else
rm -f ".deps/pam_nufw_la-pam_nufw.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I ../lib -I../../../include
-g -O2 -ansi -Wall -Wextra -Wno-unused-parameter -O2 -MT
pam_nufw_la-pam_nufw.lo -MD -MP -MF .deps/pam_nufw_la-pam_nufw.Tpo -c
pam_nufw.c -fPIC -DPIC -o .libs/pam_nufw_la-pam_nufw.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I ../lib -I../../../include
-g -O2 -ansi -Wall -Wextra -Wno-unused-parameter -O2 -MT
pam_nufw_la-pam_nufw.lo -MD -MP -MF .deps/pam_nufw_la-pam_nufw.Tpo -c
pam_nufw.c -o pam_nufw_la-pam_nufw.o >/dev/null 2>&1
/bin/sh ../../../libtool --tag=CC --mode=link
gcc -g -O2 -ansi -Wall -Wextra -Wno-unused-parameter -O2 -o
pam_nufw.la -rpath /lib/security -avoid-version -module -lpam -lnuclient
pam_nufw_la-pam_nufw.lo
gcc -shared .libs/pam_nufw_la-pam_nufw.o -lpam -lnuclient -Wl,-soname
-Wl,pam_nufw.so -o .libs/pam_nufw.so
/usr/bin/ld: cannot find -lnuclient
collect2: ld returned 1 exit status
make[3]: *** [pam_nufw.la] Error 1
make[3]: Leaving directory
`/data/home/admin/AppKit/common/net/nufw/nufw-2.0/src/clients/pam_nufw'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/data/home/admin/AppKit/common/net/nufw/nufw-2.0/src/clients'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/data/home/admin/AppKit/common/net/nufw/nufw-2.0/src'
make: *** [all-recursive] Error 1
--
Tilman Baumann
Software Developer
Collax GmbH . Boetzinger Strasse 60 . 79111 Freiburg . Germany
p: +49 (0) 89-990157-0
f: +49 (0) 89-990157-11
- [Nufw-users] compile problem version 2.0 (using -lnuclient in pam_nufw),
Tilman Baumann <=