Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Programming ➜ General ➜ Missing file

Missing file

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Zeno   USA  (2,871 posts)  Bio
Date Sun 05 Jun 2005 03:05 AM (UTC)
Message
Well I'm testing this out on another server, it was missing zlib lib, the admin installed it, but I am getting these remaining errors:
/usr/lib/crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
mccp.o(.text+0xbd): In function `compressStart':
/muds/chubr/chub/src/mccp.c:63: undefined reference to `deflateInit_'
mccp.o(.text+0xf4):/muds/chubr/chub/src/mccp.c:72: undefined reference to `text_to_socket'
mccp.o(.text+0x10c):/muds/chubr/chub/src/mccp.c:74: undefined reference to `text_to_socket'
mccp.o(.text+0x122):/muds/chubr/chub/src/mccp.c:77: undefined reference to `bug'
mccp.o(.text+0x1cd): In function `compressEnd':
/muds/chubr/chub/src/mccp.c:107: undefined reference to `deflate'
mccp.o(.text+0x202):/muds/chubr/chub/src/mccp.c:115: undefined reference to `deflateEnd' 


Anyone have any idea?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,162 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 05 Jun 2005 04:52 AM (UTC)
Message
This is a compile-time error? You need 2 files installed, the library which the linker uses, which tells it where to find the files at runtime, and the actual files which it uses at runtime.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Sun 05 Jun 2005 03:26 PM (UTC)
Message
Oh yes, forgot to mention this was compiling, heh.

Can you be more specific? Is this an error on my end or and error the admin made?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,162 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 08 Jun 2005 08:09 AM (UTC)
Message
It strictly speaking seems to be a linker error. Are you linking against the file the admin installed?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #4 on Wed 15 Jun 2005 09:45 AM (UTC)
Message
This seems a little odd:
/usr/lib/crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
Your code doesn't have a main?

As for the other errors, my bet is with Nick; you probably aren't actually linking against the installed file. Either that, or the installed file isn't the right file... :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,078 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.