Problems with installing and using SDL in Solaris 8 and 9

Hello All,

I was trying to install the SDL after compiling from source code in my
solaris workstation. I am trying to install it in my personal directory
/local/tcsarsl/myworld. What can be the problem?

I am getting the following errors:

configure:2721: gcc -o conftest -g -O2
-I/local/tcsarsl/myworld/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
conftest.c -L/local/tcsarsl/myworld/lib -R/local/tcsarsl/myworld/lib
-lSDL -lpthread -lposix4 >&5
Undefined first referenced
symbol in file
libiconv /local/tcsarsl/myworld/lib/libSDL.so
libiconv_open /local/tcsarsl/myworld/lib/libSDL.so
libiconv_close /local/tcsarsl/myworld/lib/libSDL.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:2727: $? = 1
configure: failed program was:

Please let me know if you may require any further information.

Thanking you all in anticipation.–


Thanks and Regards,

Arun S L
Telephone Number : 91-40-66672219
Deccan Park, TCS,
Plot No 1, Survey No. 64/2, Software Units Layout,
Serilingampally Mandal, Madhapur,
Hyderabad - 500034,Andhra Pradesh,India.
Mailto: @Arun_S_L

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

I only use windows but I can see it’s your compiler not knowing where your stuff is. I would make sure it’s linked up…however you do that with your compiler

---- Arun S L <arun.sl at tcs.com> wrote:> Hello All,

I was trying to install the SDL after compiling from source code in my
solaris workstation. I am trying to install it in my personal directory
/local/tcsarsl/myworld. What can be the problem?

I am getting the following errors:

configure:2721: gcc -o conftest -g -O2
-I/local/tcsarsl/myworld/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
conftest.c -L/local/tcsarsl/myworld/lib -R/local/tcsarsl/myworld/lib
-lSDL -lpthread -lposix4 >&5
Undefined first referenced
symbol in file
libiconv /local/tcsarsl/myworld/lib/libSDL.so
libiconv_open /local/tcsarsl/myworld/lib/libSDL.so
libiconv_close /local/tcsarsl/myworld/lib/libSDL.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:2727: $? = 1
configure: failed program was:

Please let me know if you may require any further information.

Thanking you all in anticipation.


Thanks and Regards,

Arun S L
Telephone Number : 91-40-66672219
Deccan Park, TCS,
Plot No 1, Survey No. 64/2, Software Units Layout,
Serilingampally Mandal, Madhapur,
Hyderabad - 500034,Andhra Pradesh,India.
Mailto: arun.sl at tcs.com

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello All,

I had installed SDL in /local/tcsarsl/myworld/ by changing the following
line in Makefile of SDL

prefix = /local/tcsarsl_local/myworld

Installation was sucessful and the libraries were created in
/local/tcsarsl_local/myworld

Now I am running in the test folder the following comand

./configure SDL_CONFIG=/local/tcsarsl/myworld/bin/sdl-config

this gave the errors that were being reported. Pleaselet me know if you
would want my compilation logs or so._______________________________________________

Thanks and Regards,

Arun S L

necronology at cox.net wrote:

I only use windows but I can see it’s your compiler not knowing where your stuff is. I would make sure it’s linked up…however you do that with your compiler

---- Arun S L <@Arun_S_L> wrote:

Hello All,

I was trying to install the SDL after compiling from source code in my
solaris workstation. I am trying to install it in my personal directory
/local/tcsarsl/myworld. What can be the problem?

I am getting the following errors:

configure:2721: gcc -o conftest -g -O2
-I/local/tcsarsl/myworld/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
conftest.c -L/local/tcsarsl/myworld/lib -R/local/tcsarsl/myworld/lib
-lSDL -lpthread -lposix4 >&5
Undefined first referenced
symbol in file
libiconv /local/tcsarsl/myworld/lib/libSDL.so
libiconv_open /local/tcsarsl/myworld/lib/libSDL.so
libiconv_close /local/tcsarsl/myworld/lib/libSDL.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:2727: $? = 1
configure: failed program was:

Please let me know if you may require any further information.

Thanking you all in anticipation.


Thanks and Regards,

Arun S L
Telephone Number : 91-40-66672219
Deccan Park, TCS,
Plot No 1, Survey No. 64/2, Software Units Layout,
Serilingampally Mandal, Madhapur,
Hyderabad - 500034,Andhra Pradesh,India.
Mailto: @Arun_S_L

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

Do you have libiconv installed? Your SDL stuff is being found, but it seems that SDL is using libiconv which is what cannot be found.----- Original Message -----
From: Arun S L
To: necronology at cox.net
Cc: A list for developers using the SDL library. (includes SDL-announce)
Sent: Wednesday, November 07, 2007 11:21 PM
Subject: Re: [SDL] Problems with installing and using SDL in Solaris 8 and 9

Hello All,

I had installed SDL in /local/tcsarsl/myworld/ by changing the following line in Makefile of SDL

prefix = /local/tcsarsl_local/myworld

Installation was sucessful and the libraries were created in /local/tcsarsl_local/myworld

Now I am running in the test folder the following comand

./configure SDL_CONFIG=/local/tcsarsl/myworld/bin/sdl-config

this gave the errors that were being reported. Pleaselet me know if you would want my compilation logs or so.

:snip:

Hello Charles,

Does not that library come with SDL? were can I find it? Why is SDL
installation not giving any warning while compilation / during running
.configure if a library is not found and which is required by SDL?_______________________________________________

Thanks and Regards,

Arun S L
Location : 2N1-57, Deccan Park
Telephone Number : 91-40-66672219
Tata Consultancy Services Limited,
Plot No 1, Survey No. 64/2, Software Units Layout,
Serilingampally Mandal, Madhapur,
Hyderabad - 500034,Andhra Pradesh,India.
Mailto: @Arun_S_L
Website: http://www.tcs.com


Experience certainty.
IT Services
Business Solutions
Outsourcing


Charles McGarvey wrote:

Do you have libiconv installed? Your SDL stuff is being found, but it
seems that SDL is using libiconv which is what cannot be found.

----- Original Message -----
*From:* Arun S L <mailto:@Arun_S_L>
*To:* necronology at cox.net <mailto:necronology at cox.net>
*Cc:* A list for developers using the SDL library. (includes
SDL-announce) <mailto:sdl at lists.libsdl.org>
*Sent:* Wednesday, November 07, 2007 11:21 PM
*Subject:* Re: [SDL] Problems with installing and using SDL in
Solaris 8 and 9

Hello All,

I had installed SDL in /local/tcsarsl/myworld/ by changing the
following line in Makefile of SDL

prefix = /local/tcsarsl_local/myworld

Installation was sucessful and the libraries were created in
/local/tcsarsl_local/myworld

Now I am running in the test folder the following comand

./configure SDL_CONFIG=/local/tcsarsl/myworld/bin/sdl-config

this gave the errors that were being reported. Pleaselet me know
if you would want my compilation logs or so.

:snip:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

Good questions. I don’t know for sure; I’m just judging by the error. You can try explicitly linking against libiconv… just add -liconv to the gcc parameter list…

Look here for more general info:
http://www.gnu.org/software/libiconv/

It may or may not be the problem, but it might be a start since those are the undefined symbols.

I know. It’s too bad that all those people who write linkers had to secretly get together and swear with an oath that they would all make linker error messages completely vague just to make the rest of us suffer. It’s tough.----- Original Message -----
From: Arun S L
To: A list for developers using the SDL library. (includes SDL-announce) ; @Charles_McGarvey
Sent: Wednesday, November 07, 2007 11:51 PM
Subject: Re: [SDL] Problems with installing and using SDL in Solaris 8 and 9

Hello Charles,

Does not that library come with SDL? were can I find it? Why is SDL installation not giving any warning while compilation / during running .configure if a library is not found and which is required by SDL?


Thanks and Regards,

Arun S L
Location : 2N1-57, Deccan Park
Telephone Number : 91-40-66672219
Tata Consultancy Services Limited,
Plot No 1, Survey No. 64/2, Software Units Layout,
Serilingampally Mandal, Madhapur,
Hyderabad - 500034,Andhra Pradesh,India.
Mailto: arun.sl at tcs.com
Website: http://www.tcs.com


Experience certainty.
IT Services
Business Solutions
Outsourcing


Charles McGarvey wrote:
Do you have libiconv installed? Your SDL stuff is being found, but it seems that SDL is using libiconv which is what cannot be found.
----- Original Message -----
From: Arun S L
To: necronology at cox.net
Cc: A list for developers using the SDL library. (includes SDL-announce)
Sent: Wednesday, November 07, 2007 11:21 PM
Subject: Re: [SDL] Problems with installing and using SDL in Solaris 8 and 9

  Hello All,

  I had installed SDL in /local/tcsarsl/myworld/ by changing the following line in Makefile of SDL

  prefix = /local/tcsarsl_local/myworld

  Installation was sucessful and the libraries were created in /local/tcsarsl_local/myworld

  Now I am running in the test folder the following comand

  ./configure SDL_CONFIG=/local/tcsarsl/myworld/bin/sdl-config

  this gave the errors that were being reported. Pleaselet me know if you would want my compilation logs or so.

  :snip:

Thank you Charles,

Now after installing the libiconv with -liconv the compilation is
working fine_______________________________________________

Thanks and Regards,

Arun S L

Charles McGarvey wrote:

Good questions. I don’t know for sure; I’m just judging by the
error. You can try explicitly linking against libiconv… just add
-liconv to the gcc parameter list…

Look here for more general info:
http://www.gnu.org/software/libiconv/

It may or may not be the problem, but it might be a start since those
are the undefined symbols.

I know. It’s too bad that all those people who write linkers had to
secretly get together and swear with an oath that they would all make
linker error messages completely vague just to make the rest of us
suffer. It’s tough.

----- Original Message -----
*From:* Arun S L <mailto:@Arun_S_L>
*To:* A list for developers using the SDL library. (includes
SDL-announce) <mailto:sdl at lists.libsdl.org> ;
onefriedrice at brokenzipper.com <mailto:onefriedrice at brokenzipper.com>
*Sent:* Wednesday, November 07, 2007 11:51 PM
*Subject:* Re: [SDL] Problems with installing and using SDL in
Solaris 8 and 9

Hello Charles,

Does not that library come with SDL? were can I find it? Why is
SDL installation not giving any warning while compilation / during
running .configure if a library is not found and which is required
by SDL?

Thanks and Regards,

Arun S L
Location : 2N1-57, Deccan Park
Telephone Number : 91-40-66672219
Tata Consultancy Services Limited,
Plot No 1, Survey No. 64/2, Software Units Layout,
Serilingampally Mandal, Madhapur,
Hyderabad - 500034,Andhra Pradesh,India.
Mailto: @Arun_S_L
Website: http://www.tcs.com


Experience certainty.
IT Services
Business Solutions
Outsourcing


Charles McGarvey wrote:
Do you have libiconv installed?  Your SDL stuff is being found,
but it seems that SDL is using libiconv which is what cannot be
found.

    ----- Original Message -----
    *From:* Arun S L <mailto:@Arun_S_L>
    *To:* necronology at cox.net <mailto:necronology at cox.net>
    *Cc:* A list for developers using the SDL library. (includes
    SDL-announce) <mailto:sdl at lists.libsdl.org>
    *Sent:* Wednesday, November 07, 2007 11:21 PM
    *Subject:* Re: [SDL] Problems with installing and using SDL
    in Solaris 8 and 9

    Hello All,

    I had installed SDL in /local/tcsarsl/myworld/ by changing
    the following line in Makefile of SDL

    prefix = /local/tcsarsl_local/myworld

    Installation was sucessful and the libraries were created in
    /local/tcsarsl_local/myworld

    Now I am running in the test folder the following comand

    ./configure SDL_CONFIG=/local/tcsarsl/myworld/bin/sdl-config

    this gave the errors that were being reported. Pleaselet me
    know if you would want my compilation logs or so.

    :snip:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you