Title: | Linux, the Free Operating System |
Notice: | New here? Sign in on topic 2 |
Moderator: | EST::DEEGAN |
Created: | Fri Feb 11 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 609 |
Total number of notes: | 2862 |
Hi All, I have a UDB running RH 4.1. Installing PGP 2.6.3 has been a bear of a problem... FYI, you cannot use "make linux" and expect it to work; it expects to in-line some '386 asm code. I've got patches to the makefile for that. Now, make dies when compiling system.c with the following: system.c: In function 'remove': system.c:348: argument 'name' doesn't match prototype /usr/include/stdio.h:129: prototype declaration I'm not much of a C prog, so I'm kinda stuck at this point. [Posted by WWW Notes gateway]
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
588.1 | SPECXN::DERAMO | Dan D'Eramo | Sat Mar 29 1997 02:51 | 10 | |
I believe that <stdio.h> declares the remove() function as: int remove(const char *filename); It looks like line 348 of system.c is either trying to declare or define a function named remove() but with different arguments, or is calling the remove() in <stdio.h> but with arguments that differ from the prototype. Dan | |||||
588.2 | ICS::tunnel-28.csc.cxo.dec.com::[email protected] | Push the button, Frank! | Fri Apr 11 1997 21:19 | 9 | |
Re: .1 I finally figured that part out. However, I attempted to compile w/out the -BSD flag. This did create a valid executable. Unfortunately, it does not work. My next step is to use the -BSD flag, and #undef that nasty remove(). Thanks for some insight. /danno |