Hi Olivier

Thanks for the answer.

./compile says that I have a GNU C-compiler (in /usr/sfw/bin with the
companion CD for Solaris 10).

Anyway I will try the URL which you gave me (SFE).

Cheers

Daniel



> You have to use GNU Binaries when using GCC :)
>
>
> Olivier
>
> -----Message d'origine-----
> De : db at dabo.ch [mailto:db at dabo.ch]
> Envoy? : mercredi, 29. juillet 2009 21:58
> ? : Olivier Mauras
> Cc : ug-chosug at opensolaris.org
> Objet : Re: [ug-chosug] Person needed who explains me linking and making
>
> Hi Olivier
>
> Ok, thanks for the answer. I'll sort out on Sunday when I'm back what SFE
> is and play around with it.
> Also, at first, I will change the PATH-order. No, I do not have the
> /usr/gnu/bin path in it.
>
> Thanks and regards
> Daniel
>
>> Hello Daniel,
>>
>> Looks like the problem comes from the wrong ld binarie used.
>> Have you installed the gnu binutils? If so set your PATH to have
>> /usr/gnu/bin before the /usr/bin
>> Gcc used with Solaris ld tends to mess things and vice versa - Sunstudio
>> with gnu ld.
>>
>> So basically do PATH="/usr/gnu/bin:$PATH" ./configure
>> This would make configure script link to the correct binaries
>>
>> I'll try to find some time to push a new spec file for Unreal IRC in
>> SFE.
>> I really recommend you to use SFE if you plan to install packages from
>> sources. You'll find informations on the link below:
>> http://pkgbuild.sourceforge.net/spec-files-extra/
>>
>>
>> Hope this will help
>>
>>
>> Regards,
>>
>>
>> Olivier
>>
>> ________________________________
>> De : ug-chosug-bounces at opensolaris.org
>> [mailto:ug-chosug-bounces at opensolaris.org] De la part de Daniel Bossert
>> Envoy? : mardi, 28. juillet 2009 23:03
>> ? : ug-chosug at opensolaris.org
>> Objet : Re: [ug-chosug] Person needed who explains me linking and making
>>
>> Hi everybody
>>
>> It must be "Is there a person whom I can phone to or do a visit so we
>> can
>> sort out this problem? " instead of "Is there a problem whom I can phone
>> to or do a visit so we can sort out this problem?"
>>
>> Excuse and cheers
>> Daniel
>>
>> Den 28.7.2009 22:57 Uhr, Daniel Bossert skrev:
>> Hi everybody
>>
>> I write many mails in the last time and ask often for help. Thanks also
>> for the advice and help which I received yet.
>>
>> I seek a person who is willing to teach me a bit about linking and
>> making.
>> As some of you know, I try to compile an Unreal-IRC-Server on my old
>> netra
>> t1 maschine.
>> THanks to some of you the configure-program now found the gcc and make
>> programs. But now I have problems with 'make'. I have following output:
>>
>>
>> -----
>> gcc -I../include -I/export/home/ircd/Unreal3.2/extras/regexp/include
>> -I/export/home/ircd/Unreal3.2/extras/c-ares/include
>> -L../extras/c-ares/lib
>> -pipe -g -O2 -funsigned-char -fno-strict-aliasing
>> -I/usr/local/ssl/include
>> -DZIP_LINKS -D_SOLARIS  -L/usr/local/ssl/lib -lssl -lcrypto -o ircd
>> timesynch.o res.o s_bsd.o auth.o aln.o channel.o cloak.o crule.o dbuf.o
>> events.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o
>> match.o modules.o packet.o parse.o s_auth.o  s_conf.o s_debug.o s_err.o
>> s_extra.o s_kline.o  s_misc.o s_numeric.o s_serv.o s_svs.o  socket.o
>> ssl.o s_user.o charsys.o scache.o send.o support.o umodes.o  version.o
>> whowas.o zip.o cidr.o random.o extcmodes.o  extbans.o md5.o
>> api-isupport.o
>> api-command.o   -lcrypt -lsocket -lnsl  -lz -lresolv
>> -L/export/home/ircd/Unreal3.2/extras/regexp/lib -ltre   -lcares -lssl
>> -lcrypto
>> Odefinierad  (Undefined)                   f?rst refererad (first
>> referenced)
>>  symbol                             i fil
>> clock_gettime
>> ../extras/c-ares/lib/libcares.a(ares__timeval.o)
>> ld: allvarligt: Symbolreferensfel. Inga utdata skrivs till ircd (ld:
>> Ernsthaft: Symbolreference-error; no output written to ircd).
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> make: Fatal error: Command failed for target `ircd'
>> Current working directory /export/home/ircd/Unreal3.2/src
>> *** Error code 1
>> The following command caused the error:
>> for i in src; do \
>>         echo "Building $i";\
>>         ( cd $i; make 'CFLAGS=-I../include
>> -I/export/home/ircd/Unreal3.2/extras/regexp/include
>> -I/export/home/ircd/Unreal3.2/extras/c-ares/include
>> -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char
>> -fno-strict-aliasing -I/usr/local/ssl/include -DZIP_LINKS
>> -D_SOLARIS  -L/usr/local/ssl/lib ' 'CC=gcc' 'IRCDLIBS=-lcrypt
>> -lsocket -lnsl  -lz -lresolv
>> -L/export/home/ircd/Unreal3.2/extras/regexp/lib -ltre   -lcares'
>> 'LDFLAGS=' 'IRCDMODE=711'  'RES='
>> 'BINDIR=/export/home/ircd/Unreal3.2/src/ircd' 'INSTALL='
>> 'INCLUDEDIR=../include' 'IRCDDIR=/export/home/ircd/Unreal3.2'
>> 'RM=/usr/bin/rm' 'CP=/usr/bin/cp' 'TOUCH=/usr/bin/touch'
>> 'SHELL=/bin/sh' 'STRTOUL='  'CRYPTOLIB=-lssl -lcrypto'
>> 'CRYPTOINCLUDES='  'URL=' build; ) \
>> done
>> make: Fatal error: Command failed for target `build'
>> ---
>>
>> The make command has been executed from /home/ircd/Unreal3.2/ .
>> I think there is a problem with libcares.a.
>> Unfortunately I'm away until Sunday.
>> Is there a problem whom I can phone to or do a visit so we can sort out
>> this problem?
>> I don't wan't to install Debian with nice packages.
>> I wanna learn how the thing works.
>>
>> Cheers and sorry for this long post
>> Daniel
>> _______________________________________________
>> ug-chosug mailing list
>> ug-chosug at opensolaris.org<mailto:ug-chosug at opensolaris.org>
>> http://mail.opensolaris.org/mailman/listinfo/ug-chosug
>>
>> _______________________________________________
>> ug-chosug mailing list
>> ug-chosug at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ug-chosug
>>
>
>
> _______________________________________________
> ug-chosug mailing list
> ug-chosug at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ug-chosug
>



Reply via email to