This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build problems


I build my custom dll in this two step:

g++ -c festivalDll.cc -L. -lfestival -lestools -lestbase -leststring
-ltermca
p -lwinmm -I ../src/include/ -I ../../speech_tools/include/ -I ./ -o
festivalDl
l.o -mno-cygwin -I./mingw/include -L./mingw/lib/ 

g++ -shared -o festival.dll festivaldll.o -L. -lfestival -lestools -lestbase
-leststring -ltermcap -lwinmm -I ../src/include/ -I
../../speech_tools/include/
 -I ./ -mno-cygwin -I./mingw/include -L./mingw/lib/ 

Without the command: "-mno-cygwin -I./mingw/include -L./mingw/lib/" all work
well,
but when I use my custom dll from c# .NET through PInvoke tha application
freeze.

Reading on internet, I have find a suggestion: build the dll with MinGw
libs.. but I have some errors. 

Output of first command:
undefine reference to '_getservbyname'
undefine reference to '_shutdown'
and more.. 

Thanks.

-- 
View this message in context: http://www.nabble.com/Build-problems-tp18599595p18604835.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]