* tin1.3beta: compile error
@ 1996-12-06 4:51 Vik Bajaj
1996-12-06 16:08 ` Michal Jaegermann
1996-12-06 22:29 ` Iwao Jack Makino
0 siblings, 2 replies; 5+ messages in thread
From: Vik Bajaj @ 1996-12-06 4:51 UTC (permalink / raw)
Any suggestions on how I can resolve this would be appreciated.
Thanks,
Vik
gcc -c -O3 -DHAVE_PGP -DHAVE_COREDUMP -g -I../include -DNNTP_ONLY -DCOLOR -DINEWS_MAIL_GATEWAY=\"/etc/inews_mail_gateway\" -DINEWS_MAIL_DOMAIN=\"/etc/inews_mail_domain\" -DNNTP_DEFAULT_SERVER=\"/etc/NNTPSERVER\" -DLIBDIR=\"/var/lib/news\" -DSPOOLDIR=\"/var/spool/news\" -DNOVROOTDIR=\"/var/spool/news\" screen.c
screen.c: In function `perror_message':
screen.c:85: conflicting types for `sys_errlist'
/usr/include/stdio.h:201: previous declaration of `sys_errlist'
make[1]: *** [screen.o] Error 1
rm parsdate.c
make[1]: Leaving directory `/usr/src/tin-1.3beta-16colors/src'
make: *** [linux] Error 2
[root@cognac src]#
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tin1.3beta: compile error
1996-12-06 4:51 tin1.3beta: compile error Vik Bajaj
@ 1996-12-06 16:08 ` Michal Jaegermann
1996-12-06 22:29 ` Iwao Jack Makino
1 sibling, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1996-12-06 16:08 UTC (permalink / raw)
>
> screen.c: In function `perror_message':
> screen.c:85: conflicting types for `sys_errlist'
> /usr/include/stdio.h:201: previous declaration of `sys_errlist'
> make[1]: *** [screen.o] Error 1
Every time when your source is "helpful" enough to redefine something
from system header files you comment out this redefinition.
A possible very rare exception (I have seen that) is when your sources
use #define with the same name as in system headers but with a totally
unrelated meaning (or something like that). Then you have to edit
your sources and change the name in question.
Whatever happens you DO NOT edit your system header files. One reason
is that your libraries, with which you will be linking, expect that.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tin1.3beta: compile error
1996-12-06 4:51 tin1.3beta: compile error Vik Bajaj
1996-12-06 16:08 ` Michal Jaegermann
@ 1996-12-06 22:29 ` Iwao Jack Makino
1 sibling, 0 replies; 5+ messages in thread
From: Iwao Jack Makino @ 1996-12-06 22:29 UTC (permalink / raw)
Vik, are you still woking on 3.0.3?
When I get change to download the src, I'll try on 4.0, I'm not
into the programming world, but I'm compiling maniac :p
BTW, my UDB is not connected to anything, no modem or network at home. How
can I get src into my computer? would I have to download to PC and rawrite
it?
---
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
You know we're gonna have a PARTY, PARTY!
http://www.cord.edu/homepages/imakino/
Jeg heter Jack, Hvem er du? Jeg liker ikke !@*#&*$^#*(@)&.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tin1.3beta: compile error
[not found] <Pine.BSI.3.95.961206162623.11903B-100000@gloria.cord.edu>
@ 1996-12-06 23:13 ` Vik Bajaj
0 siblings, 0 replies; 5+ messages in thread
From: Vik Bajaj @ 1996-12-06 23:13 UTC (permalink / raw)
|
| Vik, are you still woking on 3.0.3?
|
| When I get change to download the src, I'll try on 4.0, I'm not
| into the programming world, but I'm compiling maniac :p
I just commented out the duplicate sys_errlist declaration
in screen.c and fixed the -lcurses to -lncurses in the src dir
Makefile. It compiles fine then.
| BTW, my UDB is not connected to anything, no modem or network at home. How
| can I get src into my computer? would I have to download to PC and rawrite
| it?
Download the tar file, move it over by floppy, I assume.
--Vik
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: tin1.3beta: compile error
@ 1997-04-05 20:15 oded weiss
0 siblings, 0 replies; 5+ messages in thread
From: oded weiss @ 1997-04-05 20:15 UTC (permalink / raw)
Michal Jaegermann wrote:
>
> >
> > screen.c: In function `perror_message':
> > screen.c:85: conflicting types for `sys_errlist'
> > /usr/include/stdio.h:201: previous declaration of `sys_errlist'
> > make[1]: *** [screen.o] Error 1
>
> Every time when your source is "helpful" enough to redefine something
> from system header files you comment out this redefinition.
>
> A possible very rare exception (I have seen that) is when your sources
> use #define with the same name as in system headers but with a totally
> unrelated meaning (or something like that). Then you have to edit
> your sources and change the name in question.
>
> Whatever happens you DO NOT edit your system header files. One reason
> is that your libraries, with which you will be linking, expect that.
>
> Michal
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-04-05 20:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-06 4:51 tin1.3beta: compile error Vik Bajaj
1996-12-06 16:08 ` Michal Jaegermann
1996-12-06 22:29 ` Iwao Jack Makino
[not found] <Pine.BSI.3.95.961206162623.11903B-100000@gloria.cord.edu>
1996-12-06 23:13 ` Vik Bajaj
-- strict thread matches above, loose matches on Subject: below --
1997-04-05 20:15 oded weiss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox