<div dir="ltr">Hi,<br>&nbsp;&nbsp;&nbsp; Everyone. I am developping an appliacation on CHINOOK.<br>&nbsp;&nbsp;&nbsp; Because my code used some functions provided by Libcurl, I revised the Makefile&nbsp; to the following <br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div style="margin-left: 40px;">CC = gcc<br><br>CFLAGS = `pkg-config --cflags gtk+-2.0 hildon-1`&nbsp; -ansi -Wall -ggdb<br><br>CFLAGS_CURL = -I/scratchbox/devkits/maemo3-tools/include<br><br>LIBS = `pkg-config --libs gtk+-2.0 hildon-1`<br>
<br>LIB_CURL = -L/scratchbox/devkits/maemo3-tools/lib -lcurl -Wl,-rpath -Wl,/scratchbox/host_shared/lib/ -Wl,-rpath -Wl,/scratchbox/tools/lib/ -Wl,-rpath -Wl,/scratchbox/devkits/maemo3-tools/lib/ -L/scratchbox/devkits/maemo3-tools/lib -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz<br>
<br>TARGET =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GalleryBrowser<br><br>SOURCES = src/main.c src/xxxx.c<br><br>$(TARGET): $(SOURCES)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -o $(TARGET) $(SOURCES) $(CFLAGS) $(CFLAGS_CURL) $(LIBS) $(LIB_CURL)<br></div></blockquote>&nbsp;<br>The CFLAGS_CURL and LIB_CURL&nbsp; are generated by curl-config.<br>
<br>After compiling and linking, I got a error messege same as following link:<br><br><a href="https://bugs.maemo.org/show_bug.cgi?id=2261#add_comment">https://bugs.maemo.org/show_bug.cgi?id=2261#add_comment</a><br clear="all">
<br>Unfortuantely, no solution is provided in this page.<br>Someone in this page mentioned to remove -lidn. When I removed the -lidn, the linking process is OK. However, if I run the program, I will get a error messge: <br>
<br>&quot; relocation error: /scratchbox/host_shared/lib/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference&quot;<br><br>Thus, is there anyone who can help me?<br>
<br>Thanks in advance.<br><br>-- <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sincerely yours, <br><br>Yao Wang<br><br>Mobile Life Lab<br>Beijing University of Posts &amp; Telecommunications<br>
</div>