The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ld: fatal: Symbol referencing errors shafi2all Shell Programming and Scripting 1 06-18-2008 09:21 AM
ld: fatal: Symbol referencing errors. No output written to SNX jerryragland High Level Programming 1 08-09-2006 01:15 AM
symbol referencing error suhasini High Level Programming 1 04-03-2006 06:43 AM
ld: fatal: Symbol referencing errors alfabetman UNIX for Dummies Questions & Answers 2 01-08-2002 04:57 AM
Compiling Errors -- Symbol referencing spotanddot High Level Programming 5 07-11-2001 01:18 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-20-2009
rudolph rudolph is offline
Registered User
  
 

Join Date: May 2009
Posts: 1
Post ld: fatal: Symbol referencing errors

Hi,

I'm trying to compile OpenTTD on Solaris 5.10. I do not have root permissions so I have to set the prefix-dir to /home/abcde/usr/local/opt/opentdd-0.6.3

I've used the following command to configure:

bash ./configure --prefix-dir=/opt/openttd-0.6.2 --without-makedepend \ --binary-dir=bin --data-dir=.and complie:

time gmake LDFLAGS="-lX11 -lXext -lsocket -lnsl"

At some point of compilation I'm getting the following error:

gmake[1]: Entering directory `/home/abcde/Desktop/openttd-0.7.0/objs/release'
[SRC] Linking openttd
Undefined first referenced
symbol in file
libiconv_close /home/abcde/usr/local/temp/lib/libSDL.a(SDL_iconv.o)
libiconv_open /home/abcde/usr/local/temp/lib/libSDL.a(SDL_iconv.o)
libiconv /home/abcde/usr/local/temp/lib/libSDL.a(SDL_iconv.o)
ld: fatal: Symbol referencing errors. No output written to openttd
collect2: ld returned 1 exit status
gmake[1]: *** [openttd] Error 1
gmake[1]: Leaving directory `/home/abcde/Desktop/openttd-0.7.0/objs/release'
gmake: *** [all] Error 2
gmake LDFLAGS="-lX11 -lXext -lsocket -lnsl" 2.20s user 0.92s system 68% cpu 4.525 total

I have set the LD_LIBRARY-FLAG=/home/abcde/usr/local/lib/ where I have symbolic link to /usr/lib/libiostream.so.1

Could you please help me with my issue.

Tom
 

Bookmarks

Tags
openttd solaris 10 ld error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0