[SM-Grimoire-Bugs] [Bug 15372] New: fprintd fails to find main when building with linux-pam support

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sat Aug 29 02:14:21 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15372

           Summary: fprintd fails to find main when building with
                    linux-pam support
           Product: Codex
           Version: stable grimoire
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: security
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org


$ gaze version gcc glibc binutils
Grimoire  Section  Spell     Grimoire Version  Installed Version
--------  -------  -----     ----------------  -----------------
test      gnu      gcc       4.3.3             4.3.3
test      libs     glibc     2.10.1            2.10.1
test      devel    binutils  2.19.1            2.19.1
test      libs     glib      1.2.10            1.2.10

$ sorcery -v
1.14.3

# cast fprintd
...
fprintd has an optional dependency on linux-pam (build the pam module (broken))
Do you want to use linux-pam? [y] y
...
make[3]: Entering directory `/usr/src/fprintd-scm/pam'
/bin/sh ../libtool --tag=CC   --mode=link gcc -fPIC -Wall -Wmissing-prototypes 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include   -march=core2 -m32 -pipe -DPIC -fPIC -O2 -shared
-z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o pam_fprintd.so
pam_fprintd_so-pam_fprintd.o pam_fprintd_so-marshal.o -lpam -ldbus-glib-1
-ldbus-1 -lpthread -lrt -lgobject-2.0 -lglib-2.0
libtool: link: gcc -fPIC -Wall -Wmissing-prototypes -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-march=core2 -m32 -pipe -DPIC -fPIC -O2 -z combreloc -s -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o pam_fprintd.so
pam_fprintd_so-pam_fprintd.o pam_fprintd_so-marshal.o  /lib/libpam.so -ldl
/usr/lib/libdbus-glib-1.so /usr/lib/libdbus-1.so -lpthread -lrt
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so
make[3]: Leaving directory `/usr/src/fprintd-scm/pam'
make[2]: Leaving directory `/usr/src/fprintd-scm/pam'
make[1]: Leaving directory `/usr/src/fprintd-scm'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[3]: *** [pam_fprintd.so] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Latest git checkout as of 2009-08-28. Not related to Bug #15215. Compiles fine
if saying 'n' to linux-pam.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list