Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with compiling #1

Open
swen100 opened this issue May 12, 2015 · 0 comments
Open

Problem with compiling #1

swen100 opened this issue May 12, 2015 · 0 comments

Comments

@swen100
Copy link

swen100 commented May 12, 2015

Hi,

at compiling with
gcc -o lib_mysqludf_fPROJ4.so lib_mysqludf_fPROJ4.c -I /usr/include/mysql/
i get the following messages:

/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In function_start':
/home/abuild/rpmbuild/BUILD/glibc-2.18/csu/../sysdeps/x86_64/start.S:118: undefined reference to main' /tmp/ccJYp3wF.o: In functionlib_mysqludf_fPROJ4_info':
lib_mysqludf_fPROJ4.c:(.text+0xd1): undefined reference to pj_get_release' /tmp/ccJYp3wF.o: In functionfPROJ4_transform':
lib_mysqludf_fPROJ4.c:(.text+0x42b): undefined reference to pj_init_plus' lib_mysqludf_fPROJ4.c:(.text+0x457): undefined reference topj_init_plus'
lib_mysqludf_fPROJ4.c:(.text+0x4b0): undefined reference to pj_transform' lib_mysqludf_fPROJ4.c:(.text+0x528): undefined reference topj_free'
lib_mysqludf_fPROJ4.c:(.text+0x534): undefined reference to pj_free' /tmp/ccJYp3wF.o: In functionfPROJ4_Geo2UTM':
lib_mysqludf_fPROJ4.c:(.text+0x804): undefined reference to pj_init_plus' lib_mysqludf_fPROJ4.c:(.text+0x83e): undefined reference topj_init_plus'
lib_mysqludf_fPROJ4.c:(.text+0x8a3): undefined reference to pj_transform' lib_mysqludf_fPROJ4.c:(.text+0x904): undefined reference topj_free'
lib_mysqludf_fPROJ4.c:(.text+0x910): undefined reference to pj_free' /tmp/ccJYp3wF.o: In functionfPROJ4_UTM2Geo':
lib_mysqludf_fPROJ4.c:(.text+0xbcf): undefined reference to pj_init_plus' lib_mysqludf_fPROJ4.c:(.text+0xbee): undefined reference topj_init_plus'
lib_mysqludf_fPROJ4.c:(.text+0xc53): undefined reference to pj_transform' lib_mysqludf_fPROJ4.c:(.text+0xcd0): undefined reference topj_free'
lib_mysqludf_fPROJ4.c:(.text+0xcdc): undefined reference to pj_free' collect2: error: ld returned 1 exit status

what i am doing wrong? LibProj-devel is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant