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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-03-2004, 04:37 PM
|
#1
|
LQ Newbie
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21
Rep:
|
vlock substitute?
Does anyone know a program similar to vlock that works with Slackware 9?
|
|
|
01-03-2004, 07:36 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
|
|
|
01-03-2004, 08:52 PM
|
#3
|
LQ Newbie
Registered: Jan 2004
Location: Oslo, Norway
Distribution: my own hybrid o.s.
Posts: 18
Rep:
|
|
|
|
01-05-2004, 03:26 PM
|
#4
|
LQ Newbie
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21
Original Poster
Rep:
|
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?
|
|
|
01-05-2004, 04:27 PM
|
#5
|
LQ Newbie
Registered: Mar 2003
Location: Sweden
Distribution: Slackware
Posts: 21
Original Poster
Rep:
|
Solved it!
I've solved it, just had to add:
in the Makefile.
Pretty simple, once I knew the answer 
Last edited by Narooze; 01-06-2004 at 10:07 AM.
|
|
|
All times are GMT -5. The time now is 01:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|