[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parted 1.6.6 link problem
From: |
Seung B. Lee |
Subject: |
parted 1.6.6 link problem |
Date: |
28 Jul 2003 23:25:13 +0900 |
Hi,
I have some trouble to link my test code.
gcc -o parted1 -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLOCALEDIR="\"/usr/local/share/locale\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wno-unused
-Wno-switch -Wno-format -Werror -lparted parted1.c
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libparted.so: undefined
reference to `dlerror'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libparted.so: undefined
reference to `dlclose'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libparted.so: undefined
reference to `dlopen'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libparted.so: undefined
reference to `dlsym'
collect2: ld returned 1 exit status
make: *** [all] Error 1
parted is made and installed without any trouble.
parted-devel-1.6.6-1
parted-1.6.6-1
and my development environment:
RedHat 8.0 (2.4.20-19.8)
binutils-2.13.90.0.2-2
gcc-3.2-7
libgcc-3.2-7
glibc-2.3.2-4.80.6
glibc-common-2.3.2-4.80.6
Thanks in advance.