slforum

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Benutzeravatar
gagamail
Beiträge: 110
Registriert: 21.08.2002 16:21:48
Wohnort: wien
Kontaktdaten:

slforum

Beitrag von gagamail » 19.09.2005 14:49:45

hi leute!

ich habe ein kleines problem mit slforum. es sollte ein einfacher make aufruf funktionieren und das ding sollte laufen. aber ich bekomme nur errors. und der google schweigt sich aus.
kann mir hier vielleicht jemand weiterhelfen?
das pkg habe ich von http://shadowlands.org/forum/dist/slforum-1.9.6.tar.gz
lg, gagamail

Code: Alles auswählen

nowhere:~/downloads/slforum-1.9.6# make
gcc -funsigned-char   -DUSE_PAM -O2 -g -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes  -funsigned-char   -DDUMP_CORE -DSIGHANDLE_POSIX -DLINUX_UTMP -DLINUX_PROC_NET_TCP -Dsocket_arg3_t="unsigned int" -DUSE_AUTHLOCAL -DUSE_PAM   -c -o passwd.o passwd.c
passwd.c: In function `writeloginentry':
passwd.c:92: warning: implicit declaration of function `time'
In file included from passwd.c:194:
passwd-db-inc.c:13:22: db1/ndbm.h: No such file or directory
In file included from passwd.c:194:
passwd-db-inc.c: At top level:
passwd-db-inc.c:230: error: syntax error before '*' token
passwd-db-inc.c: In function `do_unpack_v1':
passwd-db-inc.c:237: error: `rec' undeclared (first use in this function)
passwd-db-inc.c:237: error: (Each undeclared identifier is reported only once
passwd-db-inc.c:237: error: for each function it appears in.)
passwd-db-inc.c:244: error: `pswd' undeclared (first use in this function)
passwd-db-inc.c:244: error: `dynalloc' undeclared (first use in this function)
passwd-db-inc.c: At top level:
passwd-db-inc.c:255: error: syntax error before '*' token
passwd-db-inc.c: In function `do_unpack_v2':
passwd-db-inc.c:262: error: `rec' undeclared (first use in this function)
passwd-db-inc.c:271: error: `pswd' undeclared (first use in this function)
passwd-db-inc.c:271: error: `dynalloc' undeclared (first use in this function)
passwd-db-inc.c: At top level:
passwd-db-inc.c:322: error: syntax error before '*' token
passwd-db-inc.c: In function `passwd_struct_unpack':
passwd-db-inc.c:325: error: `rec' undeclared (first use in this function)
passwd-db-inc.c:328: error: `pswd' undeclared (first use in this function)
passwd-db-inc.c:335: error: `dynalloc' undeclared (first use in this function)
passwd-db-inc.c: At top level:
passwd-db-inc.c:350: error: syntax error before '*' token
passwd-db-inc.c: In function `passwd_struct_pack':
passwd-db-inc.c:383: error: `pack_from_here' undeclared (first use in this function)
passwd-db-inc.c:424: error: `rec' undeclared (first use in this function)
passwd-db-inc.c:428: error: `key' undeclared (first use in this function)
passwd-db-inc.c: In function `slf_virtuser_get_info':
passwd-db-inc.c:443: error: `DBM' undeclared (first use in this function)
passwd-db-inc.c:443: error: `dbf' undeclared (first use in this function)
passwd-db-inc.c:444: error: `datum' undeclared (first use in this function)
passwd-db-inc.c:444: error: syntax error before "getthis"
passwd-db-inc.c:455: warning: implicit declaration of function `dbm_open'
passwd-db-inc.c:459: error: `getthis' undeclared (first use in this function)
passwd-db-inc.c:467: error: `dbrec' undeclared (first use in this function)
passwd-db-inc.c:467: warning: implicit declaration of function `dbm_fetch'
passwd-db-inc.c:488: warning: implicit declaration of function `dbm_close'
passwd-db-inc.c: In function `slf_virtuser_put_info':
passwd-db-inc.c:526: error: `DBM' undeclared (first use in this function)
passwd-db-inc.c:526: error: `dbf' undeclared (first use in this function)
passwd-db-inc.c:527: error: `datum' undeclared (first use in this function)
passwd-db-inc.c:527: error: syntax error before "putthis"
passwd-db-inc.c:538: error: `putthis' undeclared (first use in this function)
passwd-db-inc.c:538: error: `putkey' undeclared (first use in this function)
passwd-db-inc.c:544: warning: implicit declaration of function `dbm_store'
passwd-db-inc.c:544: error: `DBM_REPLACE' undeclared (first use in this function)
passwd-db-inc.c: In function `slf_virtuser_remove':
passwd-db-inc.c:556: error: `DBM' undeclared (first use in this function)
passwd-db-inc.c:556: error: `dbf' undeclared (first use in this function)
passwd-db-inc.c:557: error: `datum' undeclared (first use in this function)
passwd-db-inc.c:557: error: syntax error before "delkey"
passwd-db-inc.c:564: error: `delkey' undeclared (first use in this function)
passwd-db-inc.c:571: warning: implicit declaration of function `dbm_delete'
passwd-db-inc.c: At top level:
passwd-db-inc.c:583: error: syntax error before '*' token
passwd-db-inc.c:583: warning: type defaults to `int' in declaration of `gfn_dbf'
passwd-db-inc.c:583: warning: data definition has no type or storage class
passwd-db-inc.c: In function `slf_virtuser_getfirst':
passwd-db-inc.c:587: error: `datum' undeclared (first use in this function)
passwd-db-inc.c:587: error: syntax error before "dbrec"
passwd-db-inc.c:593: warning: assignment makes pointer from integer without a cast
passwd-db-inc.c:597: error: `dbrec' undeclared (first use in this function)
passwd-db-inc.c:597: warning: implicit declaration of function `dbm_firstkey'
passwd-db-inc.c: In function `slf_virtuser_getnext':
passwd-db-inc.c:622: error: `datum' undeclared (first use in this function)
passwd-db-inc.c:622: error: syntax error before "dbrec"
passwd-db-inc.c:627: error: `dbrec' undeclared (first use in this function)
passwd-db-inc.c:627: warning: implicit declaration of function `dbm_nextkey'
In file included from passwd.c:199:
passwd-pam-inc.c:17:31: security/pam_appl.h: No such file or directory
In file included from passwd.c:199:
passwd-pam-inc.c: At top level:
passwd-pam-inc.c:27: warning: `struct pam_response' declared inside parameter list
passwd-pam-inc.c:27: warning: its scope is only this definition or declaration, which is probably not what you want
passwd-pam-inc.c:27: warning: `struct pam_message' declared inside parameter list
passwd-pam-inc.c: In function `PAM_conv':
passwd-pam-inc.c:34: error: invalid application of `sizeof' to an incomplete type
passwd-pam-inc.c:36: error: `PAM_CONV_ERR' undeclared (first use in this function)
passwd-pam-inc.c:39: error: dereferencing pointer to incomplete type
passwd-pam-inc.c:40: error: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
passwd-pam-inc.c:43: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
passwd-pam-inc.c:44: error: invalid use of undefined type `struct pam_response'
passwd-pam-inc.c:44: error: dereferencing pointer to incomplete type
passwd-pam-inc.c:44: error: `PAM_SUCCESS' undeclared (first use in this function)
passwd-pam-inc.c:45: error: invalid use of undefined type `struct pam_response'
passwd-pam-inc.c:45: error: dereferencing pointer to incomplete type
passwd-pam-inc.c:48: error: `PAM_TEXT_INFO' undeclared (first use in this function)
passwd-pam-inc.c:50: error: invalid use of undefined type `struct pam_response'
passwd-pam-inc.c:50: error: dereferencing pointer to incomplete type
passwd-pam-inc.c:51: error: invalid use of undefined type `struct pam_response'
passwd-pam-inc.c:51: error: dereferencing pointer to incomplete type
passwd-pam-inc.c:53: error: `PAM_ERROR_MSG' undeclared (first use in this function)
passwd-pam-inc.c:55: error: invalid use of undefined type `struct pam_response'
passwd-pam-inc.c:55: error: dereferencing pointer to incomplete type
passwd-pam-inc.c:56: error: invalid use of undefined type `struct pam_response'
passwd-pam-inc.c:56: error: dereferencing pointer to incomplete type
passwd-pam-inc.c: At top level:
passwd-pam-inc.c:66: error: variable `PAM_conversation' has initializer but incomplete type
passwd-pam-inc.c:68: warning: excess elements in struct initializer
passwd-pam-inc.c:68: warning: (near initialization for `PAM_conversation')
passwd-pam-inc.c:70: warning: excess elements in struct initializer
passwd-pam-inc.c:70: warning: (near initialization for `PAM_conversation')
passwd-pam-inc.c: In function `pam_check_pass':
passwd-pam-inc.c:74: error: `pam_handle_t' undeclared (first use in this function)
passwd-pam-inc.c:74: error: `pamh' undeclared (first use in this function)
passwd-pam-inc.c:86: warning: implicit declaration of function `pam_start'
passwd-pam-inc.c:87: error: `PAM_SUCCESS' undeclared (first use in this function)
passwd-pam-inc.c:87: warning: implicit declaration of function `pam_end'
passwd-pam-inc.c:88: warning: implicit declaration of function `pam_set_item'
passwd-pam-inc.c:88: error: `PAM_RHOST' undeclared (first use in this function)
passwd-pam-inc.c:90: warning: implicit declaration of function `pam_authenticate'
passwd-pam-inc.c:92: warning: implicit declaration of function `pam_acct_mgmt'
passwd-pam-inc.c:97: warning: implicit declaration of function `pam_setcred'
passwd-pam-inc.c:97: error: `PAM_CRED_ESTABLISH' undeclared (first use in this function)
passwd.c: At top level:
passwd-pam-inc.c:66: error: storage size of `PAM_conversation' isn't known
make: *** [passwd.o] Error 1
nowhere:~/downloads/slforum-1.9.6#

Benutzeravatar
Savar
Beiträge: 7174
Registriert: 30.07.2004 09:28:58
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Berlin

Beitrag von Savar » 19.09.2005 15:08:36

beim nächsten mal bitte nach http://nopaste.debianforum.de !

ansonsten, hast du zufällig schon den GCC 4.0 ?? wenn ja, dann biege mal die Symlinks auf 3.3 zurück und versuche es dann..
MODVOICE/MYVOICE
Debianforum Verhaltensregeln
Log Dateien? -> NoPaste

Benutzeravatar
gagamail
Beiträge: 110
Registriert: 21.08.2002 16:21:48
Wohnort: wien
Kontaktdaten:

Beitrag von gagamail » 19.09.2005 15:49:39

sorry. ok, das nächste mal :)

gcc version 3.3.5

Benutzeravatar
Joghurt
Beiträge: 5244
Registriert: 30.01.2003 15:27:31
Wohnort: Hamburg
Kontaktdaten:

Re: slforum

Beitrag von Joghurt » 19.09.2005 17:54:21

gagamail hat geschrieben:passwd-db-inc.c:13:22: db1/ndbm.h: No such file or directory
passwd-pam-inc.c:17:31: security/pam_appl.h: No such file or directory
Also letztere befindet sich in libpam0g-dev. Erstere habe ich nicht gefunden. Installiere dir mal auto-apt und rufe make mit auto-apt auf (IIRC, sollte es "auto-apt make" sein)

auto-apt prüft nach, welche Dateien gewünscht werden und installiert die entsprechenden Pakete automatisch nach.

Antworten