LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-03-2004, 04:37 PM   #1
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
vlock substitute?


Does anyone know a program similar to vlock that works with Slackware 9?
 
Old 01-03-2004, 07:36 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
http://linux.maruhn.com/cat/Tool/Console.html
 
Old 01-03-2004, 08:52 PM   #3
TheDarkLord
LQ Newbie
 
Registered: Jan 2004
Location: Oslo, Norway
Distribution: my own hybrid o.s.
Posts: 18

Rep: Reputation: 0
You can compile by source or run the tgz: ftp://ftp.nnov.net/pub/software/linu...ock-1.3.tar.gz
 
Old 01-05-2004, 03:26 PM   #4
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Well I've tried to compile vlock earlier, didn't either times, just got the following output:

gcc -O2 -c -o vlock.o vlock.c
gcc -O2 -c -o signals.o signals.c
gcc -O2 -c -o help.o help.c
gcc -O2 -c -o terminal.o terminal.c
gcc -O2 -c -o input.o input.c
gcc vlock.o signals.o help.o terminal.o input.o -o vlock
input.o(.text+0x28): In function `correct_password':
: undefined reference to `crypt'
input.o(.text+0x7a): In function `correct_password':
: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [vlock] Error 1


As for lockvc, that didn't work very well either:

gcc -O3 -march=i486 -c -o lockvc.o lockvc.c
In file included from lockvc.c:24:
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/stdio.h:454: syntax error before "sizeof"
lockvc.c: In function `authenticate':
lockvc.c:212: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 2 of `strcmp' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 2 of `strncmp' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 2 of `strcmp' makes pointer from integer without a cast
lockvc.c:212: warning: passing arg 2 of `strncmp' makes pointer from integer without a cast
lockvc.c: In function `main':
lockvc.c:245: warning: return type of `main' is not `int'
make: *** [lockvc.o] Error 1


Is there anyone who has sucessfully compiled either vlock or lockvc or is the any other alternative?
 
Old 01-05-2004, 04:27 PM   #5
Narooze
LQ Newbie
 
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Solved it!

I've solved it, just had to add:
Code:
LDFLAGS = -lcrypt
in the Makefile.

Pretty simple, once I knew the answer

Last edited by Narooze; 01-06-2004 at 10:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is best substitute for MS Access... glenn69 Linux - Software 1 08-14-2004 07:23 PM
dreamweaver - substitute? curmudgeon42 Linux - Software 1 06-03-2004 09:18 PM
getting vlock for slackware vrillusions Linux - Software 2 05-24-2004 03:03 PM
compiling vlock for 9.1 vrillusions Slackware 2 11-28-2003 04:42 PM
[script] a better vlock vrillusions Linux - Software 0 09-09-2003 03:11 PM


All times are GMT -5. The time now is 03:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration