the
[copy or print]
./configure
part goes ok and shows no errors, but when i run ./configure
[copy or print]
make
I get the followingmake
[copy or print]
gcc -g -O2 -o ez-ipupdate ez-ipupdate.o conf_file.o md5.o cache_file.o pid_file.o
conf_file.o(.text+0x270): In function `parse_conf_file':
/root/Desktop/exip/ez-ipupdate-3.0.11b7/conf_file.c:88: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [ez-ipupdate] Error 1
error encountered
using "kedit" line 88 looks like thisgcc -g -O2 -o ez-ipupdate ez-ipupdate.o conf_file.o md5.o cache_file.o pid_file.o
conf_file.o(.text+0x270): In function `parse_conf_file':
/root/Desktop/exip/ez-ipupdate-3.0.11b7/conf_file.c:88: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [ez-ipupdate] Error 1
error encountered
[copy or print]
{
fprintf(stderr, "could not open config file \"%s\":%s\n", fname, error_string);
return(-1);
}
I've said it before that I'm no coder so I have also included the conf_file.c as an attachment.(remove the .txt for the raw conf_file.c){
fprintf(stderr, "could not open config file \"%s\":%s\n", fname, error_string);
return(-1);
}
If any of you REALcoders can figure this out and maybe a brief description of what I am actually looking for it would be great.
BTW: I didn't know where else to turn and this was the only place I could think of, feel free to use the dc messages to reply, or e-mail at dtrud0h@yahoo.com if the forum isn't the right place to do it. thanks again forum.







Logged









