hi.. i am creating a .dll file from an object file using gcc... i want to create a shared library... i want to use the dll to implement a new functionality.. but when i compile the file for creating the dll i get the following errors..
Cannot export .idata$4: symbol not found
Cannot export .idata$5: symbol not found
Cannot export .idata$6: symbol not found
Cannot export .text: symbol not found
Cannot export ⌂postgres_NULL_THUNK_DATA: symbol not found
collect2: ld returned 1 exit status
i used the following statement to create the dll....
C:\MinGW\bin>gcc -shared -o xpath2.dll xpath2.o -L "C:/Program Files/PostgreSQL
8.3/lib" -lpostgres -lxml2
how can i sort this problem.. please help.. thanks in advance