Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ld: fatal: Symbol referencing errors Post 12737 by alfabetman on Monday 7th of January 2002 05:34:17 AM
Old 01-07-2002
ld: fatal: Symbol referencing errors

Hello!

I have some problems installing a program called “Jail Chroot Project”.

http://www.gsyc.inf.uc3m.es/~assman/jail/index.html

I have only installed precompiled programs before and I get some kind of error message when im trying to compile this program.

I have downloaded and installed the latest version of gcc but I have not managed to the /usr/local/bin folder into the system path for the root user.

I have printed out the log from my installation. I hope someone can help me.

# pwd
/home/anwi/jail_1-9_stable/src
# /usr/ccs/bin/make
/usr/local/bin/gcc -Wall -g -D__SOLARIS__ -DDEBUG=0 -I . jail.c -o jail generic_hel
cp jail ../bin
Undefined first referenced
symbol in file
major terminal_helpers.o
minor terminal_helpers.o
makedev generic_helpers.o
ld: fatal: Symbol referencing errors. No output written to jail
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `jail'
#

Grateful for any help!

Anders
 

10 More Discussions You Might Find Interesting

1. Programming

Compiling Errors -- Symbol referencing

I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected?? The command line looks like this:-------------------------------------------- # cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies

2. Programming

symbol referencing error

Undefined first referenced symbol in file std::basic_ostream<char, std::char_traits<char> >::operator<<(int)/var/tmp//ccTR std::cerr /var/tmp//ccTRcjui.o std::cout /var/tmp//ccTRcjui.o... (1 Reply)
Discussion started by: suhasini
1 Replies

3. Programming

ld: fatal: Symbol referencing errors. No output written to SNX

Hi all, I am getting the following error when I try to do a build of a product. I dont have the dependencies of the binaries involved in the build and thats the reason I was not able to find which library to add or to proceed to the next step to solve the reference problem. Undefined ... (1 Reply)
Discussion started by: jerryragland
1 Replies

4. Programming

Symbol referencing error

Hey everyone, I can't figure out this symbol referencing error after looking at it for the longest time, and I figured some fresh eyes might be able to point something out I am overlooking. Undefined first referenced symbol in... (1 Reply)
Discussion started by: fromatz
1 Replies

5. Shell Programming and Scripting

ld: fatal: Symbol referencing errors

I am getting below error, any ideas to resolve it. 1:ts_n_tcp_cmp_row /finder3/baseline/95s/ed/src/lib/libfinder_ui_basic.so 1:ui_convert_date /finder3/baseline/95s/ed/src/lib/libfinder_fi_basic.so 1:ld: fatal: Symbol referencing errors. No output written... (1 Reply)
Discussion started by: shafi2all
1 Replies

6. Programming

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 \... (1 Reply)
Discussion started by: rudolph
1 Replies

7. Programming

C++ ld: fatal: Symbol referencing errors.

Hello. I used to compile my code including a third-party library, "libfoo.so". Now, the vendor ships a statically linked library, "libfoo.a", instead. With this library, I run into the following error: CC -mt -xarch=v9 -DCOMPILE_SOL_SPARC -ftrap=%none -xlibmil -xchip=ultra2 -xbuiltin -xO4 \... (0 Replies)
Discussion started by: acheong87
0 Replies

8. Programming

"Symbol referencing errors" On Socket programming

Dear all, I had the "Symbol referencing errors" while compiling a C socket code. It said "Undefined Symbol: socketpair", but I already copy the two head files (#include "types.h", #include "socket.h") into my current directory. Could anyone help me with it? Thanks. By the way, I'm using... (4 Replies)
Discussion started by: beyondaymk
4 Replies

9. Programming

Symbol referencing errors

Undefined first referenced symbol in file logf /var/tmp//ccwztFsO.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status float exponC(float mean) { index1++;... (1 Reply)
Discussion started by: willji1234
1 Replies

10. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies
JAILER(8)						      System Manager's Manual							 JAILER(8)

NAME
updatejail - is a script for rebuilding a chrooted environment made with jailer SYNOPSIS
updatejail <config.file> <jail identifier> DESCRIPTION
updatejail is a script which wipes out a chroot environment and rebuilds it. By default it leaves the /dev/log device in the chroot, so you do not need to restart system logger after updating a jail. WARNING
Do not configure your daemon inside your jail, because updatejail script will wipe out all the data inside the jail. If you would like to change any setting inside the jail, make the changes in the original location and then run updatejail . This makes it possible to place a jail even to a ramdisk. Options <config.file> The configuration file which contains the settings of the new chrooted environment. For further information see man 8 jailer.conf <jail identifier> The identifier which specifies which jail will be used. Identifiers need to be defined at jailer.conf . This identifier has to match the directory name used in the Root location. BUGS
updatejail will not parse the configuration file and determine the Root location by itself. For updatejail to work the Root location for the jail identifier has to end with the name of the identifier itself. For example, if your identifier is apache the Root location in jailer.conf has to be something like /chroots/apache. SEE ALSO
updatejail(8) jailer.conf(5), AUTHOR
This manual page was written by Peter Holtzl <peter.holtzl@balabit.hu>. December 4, 2001 JAILER(8)
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy