similar to: gethostname was not declared in this scope

Displaying 20 results from an estimated 2000 matches similar to: "gethostname was not declared in this scope"

2001 Nov 28
1
wine's winhelp doesn't compile
Hi, using latest cvs code, i can't compile the winhelp program. There's a conflict for the gethostname fonction : gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT -D_REENTRANT -I/usr/X11R6/include -o lex.yy.o lex.yy.c In file included from ../../include/winsock2.h:30, from
2012 Jun 28
1
[PATCH] klibc: fix gethostname()/getdomainname()
From: Maciej ?enczykowski <maze at google.com> uname(2) returns (like all syscalls) 0 on success. Signed-off-by: Maciej ?enczykowski <maze at google.com> --- usr/klibc/getdomainname.c | 2 +- usr/klibc/gethostname.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/klibc/getdomainname.c b/usr/klibc/getdomainname.c index 61722ca3519b..218ff0baa871
2006 Mar 02
1
Error while compiling code using wineg++ / winegcc
Hi!! I am not able to compile a test program on solaris using winegcc tool. Can anybody help? Here's the program source code: // file test.cpp #include <stdio.h> #include <windows.h> int main () { SYSTEMTIME lpSystemTime; GetSystemTime(&lpSystemTime); printf("Today is: %d/%d/%d\n", lpSystemTime.wYear,
2008 Jul 03
1
windows program compiled using wineg++ looks for wine binary
Hi ! I have compiled a sample Windows VC++ win 32 based HelloWorld application using the winelib. I used wineg++ to compile the application in Linux. When I try to execute the application it looks for wine. When I set the path to the wine /bin directory the application works properly. Is it possible that after compiling using wineg++ the program will run in any platform even if wine is not
2008 Apr 11
0
winsock2.h: present but cannot be compiled
Hi, I was trying to compile icecast-2.3.1 in Cygwin 3.4.4. I get the following warning as the echo of the configure script. checking winsock2.h usability... no checking winsock2.h presence... yes configure: WARNING: winsock2.h: present but cannot be compiled configure: WARNING: winsock2.h: check for missing prerequisite headers? configure: WARNING: winsock2.h: see the Autoconf documentation
2016 Jul 01
1
Windows guest and virtio serial port
Okay, I've updated virtio serial drivers to latest ones. This did not help. Afterwards I've enabled "Show hidden devices" in Device manager of a guest os.In the "Other devices" section I can see two virtio serial ports with question marks (i did configure guest with 2 virtio channels). Is this a normal behaviour? Screenshot:
2007 Apr 20
1
libshout compilation error
hi, I tried to build libshout 2.2.2 in my pc using cygwin. /.configure produce the messages below. Anyone knows how to fix it. Thanks /james --------------------------------------- checking winsock2.h usability... no checking winsock2.h presence... yes configure: WARNING: winsock2.h: present but cannot be compiled configure: WARNING: winsock2.h: check for missing prerequisite headers?
2004 Aug 06
0
Build Problems on CYGWIN
Just started looking at icecast and am trying to play with LibShout. My dev environment is cygwin at the moment. I managed to build libOgg and LibVorbis but seem to have run into a problem with Libshout. The configure script complains about winsock32.h (and tells me to email this group). See the attached log.txt for details. I also include an edited config.log so you can see the details of the
2001 Dec 07
2
[Possible BUG]: Wine-20011108
Hello, there I've run into situation which looks like bug to me - attached is the source and the executable, wich triggers the buggy behaviour. The executable is compiled with mingw32 cross-copiler based on linux and targeted to Win32. The cross-compiler can be found at: http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html This is the output of the program being run with Wine
2008 May 18
2
problem build wine lib
This is my first post here, please excuse any incorrect terms etc. I have tried to follow chapter 5 of winelib-guild.pdf, but found winemaker does not correspond to the pdf. I am using wine version 1.0-rc1. I am trying to call a Linux shared library from an unmodified windows C++ program using a ?C? interface to a DLL. I have built very simple test case that I would like help to compile. Sorry for
2002 Oct 07
0
winsock2
i'm using Wine 20020804 which came with my download of mandrake 9.0. as a test i got a couple of games to install fine, now i'm trying to install a product called Remedy Administrator (program is admin.exe). the install screen comes up fine but soon gives me this popup error: Please install the latest version of WinSock2 first before installing Remedy i've checked around some but
2020 Mar 27
0
Wine release 5.5
The Wine development release 5.5 is now available. What's new in this release (see below for details): - Builtin libraries use the new UCRTBase C runtime. - Compatibility mode used when reporting Windows version. - Better support for debug information in PE files. - Support for linguistic case mappings. - More attributes supported in WebServices. - Various bug fixes. The source
2007 Mar 06
1
Errors compiling flac in Visual Studio Express 2005
Hi! I have trouble compiling the flac library using Microsofts free (yes MS gives it away including the optimizing C++ compiler msvc8.0) Visual Studio Express 2005. I get the output shown below. Does anyone have a way to make flac compile in VS 2005? Thanks! Ulrik 1>------ Rebuild All started: Project: replaygain_analysis_static, Configuration: Debug Win32 ------ 1>Deleting
2005 Aug 23
0
Compiling winelib dependant code with g++
wineg++ is using g++, and is passing its options to g++. How can I link some winelib-dependant code with g++ ? compilation is okay, but at linking time, all wine functions are unresolved. // ### here's the output :### [root@udp015809uds Wine2]# g++ -lwine registry.o registry_wrap.o -o registry.out registry.o(.text+0x2e): In function `CreateKey(char const*)': : undefined
2009 Feb 21
2
Compiling Winelib application under x86_64
Hi All I'm trying to compile the following program int main() { return 0; } I generated a makefile using winemaker running make I get wineg++ -c -mno-cygwin -o test.o test.cpp wineg++ -mwindows -mno-cygwin -o test.exe.so test.o -lodbc32 -lole32 -loleaut32 -lwinspool -luuid ld: Relocatable linking with relocations from format elf32-i386
2008 Apr 10
2
winsock2
Is winsock2 built in wine? There is no choice inside winecfg to override it. How to use native winsock2? regards,
2001 Jul 24
1
winelib
Hello, My version of wine is wine-20010510-1. Do I need to make any changes to the wine headers? I get errors from winsock.h and winsock2.h often. Then I try fixing it in the file, since it seems easy but then it causes problems elsewhere. E.g., /usr/include/wine/winsock2.h:92: field 'Address' has incomplete type I noticed winsock 2 has a FIXME: Still missing required Winsock 2
2006 Jul 14
0
ld -r failed with status 256
Hi, I'm trying to compile (windows) cpp-sources on a Sun Fire X2100 using wineg++. I have managed that all sources are compiled without complain, but finally ld aborts with an error message about i386 and x86-64 architecures. Any idea, what I should do? thx, teb $wineg++ *.cpp ld: Relocatable linking with relocations from format elf32-i386 (/usr/lib/wine/libwinecrt0.a(exe_entry.o)) to
2009 Jan 01
1
wineg++ and conio.h problem
Here is a sample code: Code: #include <iostream> #include <cstdlib> #include <wine/msvcrt/conio.h> int main() { std::cout << "Press something...\n"; getch(); return EXIT_SUCCESS; } and here is the compile log: (two things are translated from polish so may differ a bit but meaning is the same) Code: szczerb at nomad ~/projekty/wine/temp $ make wineg++ -c
2012 Feb 07
2
[PATCH] Remove even more CPP hackery
This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been been replaced by klibc. Considering the age of EMX and lack of testing and that klibc contains so many improvements I think this is exceptable. --- include/FLAC/ordinals.h | 17 +++++++++-------- src/flac/main.c | 2 +- src/libFLAC/metadata_iterators.c | 2 +-