[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcaca] Re: hacks for solaris 8 + gcc 2.95.2
=- Sam Hocevar wrote on Sun 28.Oct'07 at 11:32:02 +0100 -=
> > I know it isn't perfect, that's because I've no clue about
> > autotools and where to put/ change stuff properly.
> > Especially the "#define kkk is just a leftover of moving the
> > "deprecated" stuff onto a separate line, because it borked, but
> > I had no idea how/ what to replace it with.
> >
> > Additionally I had to set
> > LIBS = -lnsl -lsocket
> > in src/Makefile to let it know about the network symbols.
>
> Thanks a lot, everything was applied so far except that last LIBS
> part. I first would like to know which symbols were missing that
> required the addition.
------ QUOTE BEGIN ------
cacaserver.c: In function `main':
cacaserver.c:200: warning: function declaration isn't a prototype
gcc -g -O2 -g -O2 -fno-strength-reduce ...
Undefined first referenced
symbol in file
bind cacaserver.o
accept cacaserver.o
listen cacaserver.o
socket cacaserver.o
setsockopt cacaserver.o
inet_ntoa cacaserver.o
ld: fatal: Symbol referencing errors. No output written to .libs/cacaserver
collect2: ld returned 1 exit status
------- QUOTE END -------
Uh, I hope you did something better than my "#define kkk" hack! ;)
What's your take on the img2irc -> img2asc rename (or even better
img2txt :) + necessary changes?
--
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.
--
This is the libcaca mailing-list, see http://libcaca.zoy.org/
Trouble unsubscribing? Please contact <sam@zoy.org>
List archives are at http://libcaca.zoy.org/list/