Sponsored Content
Full Discussion: unresolved symbol ???
Top Forums UNIX for Dummies Questions & Answers unresolved symbol ??? Post 56648 by svennie on Thursday 7th of October 2004 08:46:32 AM
Old 10-07-2004
Network unresolved symbol ???

when I make ncftp 111.111.1.2

I just get problems like ...

/usr/lib/dld.sl unresolved symbol:inet_ntop (code)

does anybody know what is the problem and how to solve this?

thx..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

timer_gettime unresolved error

I have used get_time() in my program but when I try to compile it it is giving the following error: ld: Unresolved: timer_gettime (5 Replies)
Discussion started by: basavaraj_m
5 Replies

2. Programming

c++ unresolved symbol

I have this problem: # make gcc -g -D_REENTRANT -DDISABLE_MJPEG=1 -I. -o encmain.o -c encmain.cc ld: 0711-317 ERROR: Undefined symbol: std::string::_Rep::_S_max_size collect2: ld returned 8 exit status but from /usr/local/include/g++v3/bits/basic_string.h : namespace... (0 Replies)
Discussion started by: thalex
0 Replies

3. Programming

Unresolved Symbol on HP UX & oracle7

Hi everyone, I have a problem. I do not succeed to linking the oracle7's library for my .so and a Unresolved Symbol :sqlcxt error returns me when I call program. this is my makefile. cc -Ae -I/usr/include/curses_colr -L/usr/lib -DUSE_TERMIOS -D_FILE64 -DDYNAMIC_LIBRARIES_SUPPORTED... (2 Replies)
Discussion started by: luckycs
2 Replies

4. Programming

How To Find Unresolved symbol in shared library?

1 . I use Digital Unix V4.0F 2 . I compile a programe which use a shared library . But when I run it( prog.out) , the shell told me that "Fatal Error : /sbin/loader : unresolved symbol in lib3cZap.so" But When I compile proj.out and lib3cZap.so , the compiler said nothing . And I ls -l... (1 Reply)
Discussion started by: chenhao_no1
1 Replies

5. Programming

unresolved symbol on AIX 5.2

Hi, want to port an executable from AIX 5.3 to AIX 5.2. This seems to be no problem, when i build one executable. But in another case i have to link one library statically and the rest is loaded at runtime. This works for AIX 5.3 but on AIX 5.2 i get the following error ... (2 Replies)
Discussion started by: pm_user
2 Replies

6. HP-UX

Unresolved symbol problem

Hi I am trying to make an executable which has informix esqlc and .per files. I am using informix version 9.3. The make is successful, but when i execute, i get an error message /usr/lib/dld.sl: Unresolved symbol: ibm_lib4gl_loadint4 (code) from RVprnrecvr Abort(coredump) I searched for... (4 Replies)
Discussion started by: venkatakrishnan
4 Replies

7. UNIX for Advanced & Expert Users

database connection (unresolved sqlcxt)

i have a little pro*c code (as shown below) to connect an oracle database. (in unix solaris platform) in the preprocessor compilation step everything is ok. but when i try to compile the code using cc i get the error below: ld: Unresolved: sqlcxt i think there is a problem while linking... (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies

8. AIX

Unresolved symbols

Hello experts , i have some strange problem, i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do nm -Bo sample.so , i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies

9. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
DEPMOD(8)						       Linux Module Support							 DEPMOD(8)

NAME
depmod - handle dependency descriptions for loadable kernel modules SYNOPSIS
depmod [-aA] [-ehnqrsuvV] [-C configfile] [-F kernelsyms] [-b basedirectory] [forced_version] depmod [-enqrsuv] [-F kernelsyms] module1.o module2.o ... DESCRIPTION
The depmod and modprobe utilities are intended to make a Linux modular kernel manageable for all users, administrators and distribution maintainers. Depmod creates a "Makefile"-like dependency file, based on the symbols it finds in the set of modules mentioned on the command line or from the directories specified in the configuration file. This dependency file is later used by modprobe to automatically load the correct mod- ule or stack of modules. The normal use of depmod is to include the line /sbin/depmod -a somewhere in the rc-files in /etc/rc.d, so that the correct module dependencies will be available immediately after booting the system. Note that the option -a is now optional. For boot-up purposes, the option -q might be more appropriate since that makes depmod silent about unresolved symbols. It is also possible to create the dependency file immediately after compiling a new kernel. If you do "depmod -a 2.2.99" when you have compiled kernel 2.2.99 and its modules the first time, while still running e.g. 2.2.98, the file will be created in the correct place. In this case however, the dependencies on the kernel will not be guaranteed to be correct. See the options -F, -C and -b above for more information on handling this. While building the relationship between modules and the symbols exported by other modules, depmod does not consider the GPL status of the modules nor of the exported symbols. That is, depmod will not flag an error if a module without a GPL compatible license refers to a GPL only symbol (EXPORT_SYMBOL_GPL in the kernel). However insmod will refuse to resolve GPL only symbols for non-GPL modules so the actual load will fail. OPTIONS
-a, --all Search for modules in all directories specified in the (optional) configuration file /etc/modules.conf. -A, --quick Compare file timestamps and, if necessary, act like depmod -a. This option only updates the dependency file if anything has changed. -e, --errsyms Show all the unresolved symbols for each module. -h, --help Display a summary of options and immediately exit. -n, --show Write the dependency file on stdout instead of in the /lib/modules tree. -q, --quiet Tell depmod to keep quiet and not to complain about missing symbols. -r, --root Some users compile modules under a non-root userid then install the modules as root. This process can leave the modules owned by the non-root userid, even though the modules directory is owned by root. If the non-root userid is compromised, an intruder can overwrite existing modules owned by that userid and use this exposure to bootstrap up to root access. By default, modutils will reject attempts to use a module that is not owned by root. Specifying -r will suppress the error and allow root to load modules that are not owned by root. Use of -r is a major security exposure and is not recommended. -s, --syslog Write all error messages via the syslog daemon instead of stderr. -u, --unresolved-error depmod 2.4 does not set a return code when there are any unresolved symbols. The next major release of modutils (2.5) will set a return code for unresolved symbols. Some distributions want a non-zero return code in modutils 2.4 but that change might cause problems for users who expect the old behaviour. If you want a non-zero return code in depmod 2.4, specify -u. depmod 2.5 will silently ignore the -u flag and will always give a non-zero return code for unresolved symbols. -v, --verbose Show the name of each module as it is being processed. -V, --version Display the version of depmod. The following options are useful for people managing distributions: -b basedirectory, --basedir basedirectory If the directory tree /lib/modules containing the sub-trees of modules is moved somewhere else in order to handle modules for a dif- ferent environment, the -b option tells depmod where to find the moved image of the /lib/modules tree. The file references in the depmod output file that is built, modules.dep, will not contain the basedirectory path. This means that when the file tree is moved back from basedirectory/lib/modules into /lib/modules in the final distribution, all references will be correct. -C configfile, --config configfile Use the file configfile instead of /etc/modules.conf. The environment variable MODULECONF can also be used to select a different configuration file from the default /etc/modules.conf (or /etc/conf.modules (deprecated)). When environment variable UNAME_MACHINE is set, modutils will use its value instead of the machine field from the uname() syscall. This is mainly of use when you are compiling 64 bit modules in 32 bit user space or vice versa, set UNAME_MACHINE to the type of the modules being built. Cur- rent modutils does not support full cross build mode for modules, it is limited to choosing between 32 and 64 bit versions of the host architecture. -F kernelsyms,--filesyms kernelsyms When building dependency files for a different kernel than the currently running kernel, it is important that depmod uses the cor- rect set of kernel symbols to resolve the kernel references in each module. These symbols can either be a copy of System.map from the other kernel, or a copy of the output from /proc/ksyms. If your kernel uses versioned symbols, it is best to use a copy of the /proc/ksyms output, since that file contains the symbol versions of the kernel symbols. However you can use a System.map even with versioned symbols. CONFIGURATION
The behavior of depmod and modprobe can be adjusted by the (optional) configuration file /etc/modules.conf. See modprobe(8) and modules.conf(5) for a complete description. STRATEGY
Each time you compile a new kernel, the command "make modules_install" will create a new directory, but won't change the default. When you get a module unrelated to the kernel distribution you should place it in one of the version-independent directories under /lib/modules. This is the default strategy, which can be overridden in /etc/modules.conf. FILES
/etc/modules.conf (alternatively but deprecated /etc/conf.modules) /lib/modules/*/modules.dep, /lib/modules/* SEE ALSO
modules.conf(5), modprobe(8), modinfo(8), lsmod(8), ksyms(8) BUGS
depmod [ -V | --version ] should exit immediately. Instead, it prints the version information and behaves as if no options were given. AUTHORS
Jacques Gelinas (jack@solucorp.qc.ca) Bjorn Ekwall (bj0rn@blox.se) Linux January 26, 2002 DEPMOD(8)
All times are GMT -4. The time now is 12:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy