Log in

No account? Create an account
LogJam [entries|archive|friends|userinfo]

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Mar. 6th, 2001|11:58 am]
CVS Commit:
Better error handling. GTK 1.2.9 fixes.

[User Picture]From: diamondc
2001-03-10 08:20 am (UTC)

solaris 8

hey there,

tried to compile loserjabber 2.1.5 on solaris 8, ./configure goes smoothly w/o errors. using gnu make and gcc it compiles until here.

gcc -Wall -g -o loserjabber init.o dotconf.o history.o network.o settings.o lj.o friends.o identities.o menu.o about.o gtkspell.o meta.o util.o security.o friendedit.o md5.o link.o login.o -L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -L/export/home/gabriel/loserjabber-2.1.5/libhalfgnome/ -lhalfgnome
Undefined first referenced
symbol in file
hstrerror network.o
ld: fatal: Symbol referencing errors. No output written to loserjabber
collect2: ld returned 1 exit status
make[2]: *** [loserjabber] Error 1
make[2]: Leaving directory `/export/home/gabriel/loserjabber-2.1.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/gabriel/loserjabber-2.1.5'
make: *** [all-recursive-am] Error 2

the only warnings i get during a make are here

init.c: In function `parse_options':
init.c:152: warning: implicit declaration of function `getpass'
init.c:152: warning: assignment makes pointer from integer without a cast

it's probably a problem with Solaris ld which apparently sucks from all the searching of linking errors found on google. so all i did was go into network.c and around line 138 removed the hstrerror(h_errno) part and also the other instance of hstrerror(h_errno) and it compiles.
(Reply) (Thread)
From: evan
2001-03-10 08:21 pm (UTC)

Re: solaris 8

I looked into this a bit, and I can't find a conclusive answer.

Would it be possible to give me a shell on a Solaris box?

If not, something like this would probably work.
(Reply) (Parent) (Thread)
From: evan
2001-03-11 10:16 am (UTC)

Re: solaris 8

I committed a fix to CVS. Can you see if it worked?
(Reply) (Parent) (Thread)
[User Picture]From: diamondc
2001-03-11 10:41 am (UTC)

Re: solaris 8

ill check the cvs right now
i did do a

char hnum[20];

taken from the page you linked to, in the beginning of network.c and it worked

but now im getting shitty 'cant find gtk/gtk.h errors.. ' for some reason..
(Reply) (Parent) (Thread)