| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Fri Apr 27, 2007 7:48 pm Post subject: Compiling icecast for windows |
|
|
Hello, i need to recompile icecast for windows to fix the content-length problem and make capable to start in IE7, and i don`t know what's the icecast compiler used for window version.
Can you help me?
regards, Marcelo |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Apr 27, 2007 10:41 pm Post subject: |
|
|
Can you try my win32 kh9 build (page referenced off profile), it has the value that has so far reported to be successful but not many have tried yet.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Apr 28, 2007 6:07 am Post subject: |
|
|
thanks a lot for your release, this version fix the problem perfectly, what's the compiler that you are using in windows for icecast?, i want to play with the code a bit
thanks and regards
Marcelo |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 28, 2007 6:38 am Post subject: |
|
|
VC6. The build process isn't great at the moment for win32, I moved many of the settings to config.h but it's probably not perfect just yet.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Aug 22, 2007 2:22 pm Post subject: want help |
|
|
Hi karlH,
I wanted help on how to build it on win32 platform.
if a build process could be listed for win32, it would be great.... looking out for help..
i wanted to personalize the server for specific stations only, and hence need to play with the code.
waiting for reply..
thanks in advance... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Aug 22, 2007 5:03 pm Post subject: |
|
|
You need to build the dependencies first, libxml2, libcurl etc. I install them into the same prefix location that the VC6 workspace will search through. copy the config-vc6.h from win32 into the parent directory as config.h and rebuild.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Aug 24, 2007 6:33 am Post subject: |
|
|
Thanks fot the information...
I am getting dependencies on speex and theora... can I disable them (my stations will support music and songs only...) however, i also understand that later i cud include them and rebuild... am i right
also in config.h, i have commented the line:
//#define HAVE_OPENSSL 1
will this affect me in anywayz ?
thanks in advance... |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Aug 24, 2007 10:14 am Post subject: iconv.lib not found... |
|
|
Also,
I am stuck for link of iconv.lib
was not able to get the same library...
from where do i get it ? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 24, 2007 2:07 pm Post subject: |
|
|
The config.h enables or disables certain parts of the source, so you should be fine commenting out certain blocks like openssl, you just loose that functionality. You may need to remove the library reference in the dsp as the linking may stop the build.
iconv is located at http://www.gnu.org/software/libiconv/ You may find pre-built packages as part of gettext.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Aug 24, 2007 2:57 pm Post subject: |
|
|
hi thanks again...
i have solved these issues, now when building I am getting lots of errors like:
--------------------Configuration: icecast2 console - Win32 Debug--------------------
Linking...
vorbis_static.lib(mdct.obj) : error LNK2001: unresolved external symbol _free
ogg_static_d.lib(bitwise.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(floor0.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(bitrate.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(envelope.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(smallft.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(block.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(mapping0.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(res0.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(floor1.obj) : error LNK2001: unresolved external symbol _free
ogg_static_d.lib(framing.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(info.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(psy.obj) : error LNK2001: unresolved external symbol _free
vorbis_static.lib(sharedbook.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(format_ogg.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(format_flac.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(format_midi.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(format_vorbis.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(admin.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(auth_htpasswd.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(auth_url.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(format_mp3.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(avl.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(format.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(client.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(source.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(sock.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(thread.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(util.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(httpp.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(cfgfile.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(xslt.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(refbuf.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(connection.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(log.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(logging.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(fserve.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(stats.obj) : error LNK2001: unresolved external symbol _free
main.obj : error LNK2001: unresolved external symbol _free
icecast.lib(auth.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(slave.obj) : error LNK2001: unresolved external symbol _free
icecast.lib(yp.obj) : error LNK2001: unresolved external symbol _free
main.obj : error LNK2001: unresolved external symbol _remove
icecast.lib(log.obj) : error LNK2001: unresolved external symbol _remove
icecast.lib(auth_htpasswd.obj) : error LNK2001: unresolved external symbol _remove
icecast.lib(format_ogg.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(admin.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(auth_htpasswd.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(auth_url.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(format_mp3.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(connection.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(format.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(client.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(source.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(logging.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(fserve.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(stats.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(xslt.obj) : error LNK2001: unresolved external symbol __snprintf
main.obj : error LNK2001: unresolved external symbol __snprintf
icecast.lib(slave.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(yp.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(log.obj) : error LNK2001: unresolved external symbol __snprintf
icecast.lib(format_vorbis.obj) : error LNK2001: unresolved external symbol _memset
ogg_static_d.lib(framing.obj) : error LNK2001: unresolved external symbol _memset
ogg_static_d.lib(bitwise.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(sock.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(admin.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(format_mp3.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(md5.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(logging.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(stats.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(cfgfile.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(xslt.obj) : error LNK2001: unresolved external symbol _memset
main.obj : error LNK2001: unresolved external symbol _memset
icecast.lib(auth.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(slave.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(global.obj) : error LNK2001: unresolved external symbol _memset
icecast.lib(format_midi.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(format_vorbis.obj) : error LNK2001: unresolved external symbol __chkesp
ogg_static_d.lib(framing.obj) : error LNK2001: unresolved external symbol __chkesp
ogg_static_d.lib(bitwise.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(format_mp3.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(format_ogg.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(md5.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(format_flac.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(auth_url.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(timing.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(event.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(fnmatch.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(client.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(source.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(admin.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(auth_htpasswd.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(util.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(httpp.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(avl.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(format.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(connection.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(resolver.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(sock.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(thread.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(stats.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(cfgfile.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(xslt.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(refbuf.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(global.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(log.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(logging.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(fserve.obj) : error LNK2001: unresolved external symbol __chkesp
main.obj : error LNK2001: unresolved external symbol __chkesp
icecast.lib(auth.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(slave.obj) : error LNK2001: unresolved external symbol __chkesp
icecast.lib(yp.obj) : error LNK2001: unresolved external symbol __chkesp
main.obj : error LNK2001: unresolved external symbol _printf
main.obj : error LNK2001: unresolved external symbol _strncpy
icecast.lib(slave.obj) : error LNK2001: unresolved external symbol _strncpy
icecast.lib(resolver.obj) : error LNK2001: unresolved external symbol _strncpy
icecast.lib(sock.obj) : error LNK2001: unresolved external symbol _strncpy
main.obj : error LNK2001: unresolved external symbol _exit
icecast.lib(avl.obj) : error LNK2001: unresolved external symbol _exit
vorbis_static.lib(floor1.obj) : error LNK2001: unresolved external symbol _exit
main.obj : error LNK2001: unresolved external symbol _fprintf
icecast.lib(log.obj) : error LNK2001: unresolved external symbol _fprintf
icecast.lib(avl.obj) : error LNK2001: unresolved external symbol _fprintf
icecast.lib(auth_htpasswd.obj) : error LNK2001: unresolved external symbol _fprintf
main.obj : error LNK2001: unresolved external symbol __iob
icecast.lib(cfgfile.obj) : error LNK2001: unresolved external symbol __iob
icecast.lib(avl.obj) : error LNK2001: unresolved external symbol __iob
icecast.lib(auth_url.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(fnmatch.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(format_mp3.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(format_vorbis.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(format.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(source.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(admin.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(auth_htpasswd.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(cfgfile.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(connection.obj) : error LNK2001: unresolved external symbol _strcmp
icecast.lib(util.obj) : error LNK2001: unresolved external symbol _strcmp
so on....
Debug/icecast2console.exe : fatal error LNK1120: 81 unresolved externals
Error executing link.exe.
Icecast2win.exe - 498 error(s), 0 warning(s)
I see all these functions as standard functions and not able to figure out how to link these properly....
so again... any help will be appreciated, i will be hunting on it myself though...
thanks again  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 24, 2007 3:48 pm Post subject: |
|
|
I'm guessing it's something to do with the libc as there are several to choose from.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Aug 25, 2007 4:38 am Post subject: |
|
|
i too guessed the same... i even tried this in the link options:
/nodefaultlib:"libc.lib"
this means it will not take libc as default taken by vc6
but this also did not help...
so any suggestions as to how to get through this ? |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Aug 27, 2007 4:33 am Post subject: |
|
|
hi karl,
I was able to get past that, and not the workspace is building fine, however, when I try to run the exe, i get the following prompt:
"The ordinal 73 could not be located in the dynamic link library zlib1.dll"
Any idea why would this come up...
As far as I know, zlib1 doesn't belong to this project, how do I go about finding and resolving the error...
thanks in advance for any help... |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Aug 27, 2007 5:44 am Post subject: |
|
|
hi Karl,
i could resolve the issue...
i got the latest version of zlib1 for gnu-win32
thanks for help...  |
|
| Back to top |
|
 |
|