Author Topic: Fluffos 3.0 alpha7.3  (Read 7835 times)

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Fluffos 3.0 alpha7.3
« on: August 19, 2013, 10:54:54 PM »
https://github.com/fluffos/fluffos/releases/tag/fluffos-3.0-alpha7.3

Fluffos 3.0 (alpha7.3)
  sunyc released this a minute ago

3.0 vs 2.0 Summary

https://github.com/fluffos/fluffos/blob/next-3.0/ChangeLog.fluffos-3.x

FluffOS 3.0-alpha7.3

User command execution is now integrated into event loop. (at least 10% CPU decrease and better fairness among users).
Fixed unique_mapping() crash when callback returns new objects/array etc.
Fixed memory corruption issue with unsupported TELNET environment negoation.
Fixed memory corruption when reading 0 length file.
restored USE_ICONV in auto testing.
Moved many options into options_internal.h, all the local_options override still works. edit_source will print out "extra" defines local_options contains. This pave the road for reducing complexity of options.h in the future.
ALLOW_INHERIT_AFTER_FUNCTION is now default, no crash anymore.
Previously if a user object is destructed, the message in the buffer would be lost. Now the driver will correctly send them out before terminating connection.
FluffOS 3.0-alpha7.2

unique_mapping() crash when callback returns a non-shared string.
move some outdated doc to /doc/archive.
some format change in EFUN/APPLY doc.
FluffOS 3.0-alpha7.1

disable_commands() change is reverted, not thought through.
enable_commands() now accepts a int instead (see 3.0 vs 2.0)
FluffOS 3.0-alpha7

Check c++11 capability during configuring.
new LPC predefine "__CXXFLAGS__."
Fixes cmud/zmud problem with TCP_NODELAY with MCCP.
new debug macro "-dadd_action" to show add_action related logs.
disable_commands() now accepts one int argument. (see 3.0 vs 2.0).

Offline DarKWateR

  • BFF
  • ***
  • Posts: 104
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #1 on: August 26, 2013, 01:12:20 PM »
Hello, i'm testing this version.

In simulate.cc i see that you remove LOG_CATCHES "ifdef".

Now, all errors (include catchs) is log always.

Is it not better use this define and you can choice it?

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #2 on: August 27, 2013, 11:22:25 PM »
I don't feel it's "that" useful, just trying to reduce the complexity of options.h file.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #3 on: September 01, 2013, 09:55:32 AM »
https://github.com/fluffos/fluffos/releases/tag/fluffos-3.0-alpha7.3

Fluffos 3.0 (alpha7.3)
  sunyc released this a minute ago

3.0 vs 2.0 Summary

https://github.com/fluffos/fluffos/blob/next-3.0/ChangeLog.fluffos-3.x

FluffOS 3.0-alpha7.3

User command execution is now integrated into event loop. (at least 10% CPU decrease and better fairness among users).
Fixed unique_mapping() crash when callback returns new objects/array etc.
Fixed memory corruption issue with unsupported TELNET environment negoation.
Fixed memory corruption when reading 0 length file.
restored USE_ICONV in auto testing.
Moved many options into options_internal.h, all the local_options override still works. edit_source will print out "extra" defines local_options contains. This pave the road for reducing complexity of options.h in the future.
ALLOW_INHERIT_AFTER_FUNCTION is now default, no crash anymore.
Previously if a user object is destructed, the message in the buffer would be lost. Now the driver will correctly send them out before terminating connection.
FluffOS 3.0-alpha7.2

unique_mapping() crash when callback returns a non-shared string.
move some outdated doc to /doc/archive.
some format change in EFUN/APPLY doc.
FluffOS 3.0-alpha7.1

disable_commands() change is reverted, not thought through.
enable_commands() now accepts a int instead (see 3.0 vs 2.0)
FluffOS 3.0-alpha7

Check c++11 capability during configuring.
new LPC predefine "__CXXFLAGS__."
Fixes cmud/zmud problem with TCP_NODELAY with MCCP.
new debug macro "-dadd_action" to show add_action related logs.
disable_commands() now accepts one int argument. (see 3.0 vs 2.0).

I had a problem with the driver under CYGWIN 64 and the stock options. I havent tested it under oracle virtualbox yet.
Code: [Select]
Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/dragonfire/Driver/src
$ cp local_options.testrelease local_options

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/dragonfire/Driver/src
$ sh build.FluffOS
Preparing to build standard driver ...
rm: cannot remove `configure.h': No such file or directory
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether C++ compiler accepts ... yes
checking whether the linker accepts -flto... yes
checking whether C++ compiler accepts -flto... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/telnet.h usability... yes
checking arpa/telnet.h presence... yes
checking for arpa/telnet.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/crypt.h usability... no
checking sys/crypt.h presence... no
checking for sys/crypt.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking whether byte ordering is bigendian... no
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for struct stat.st_rdev... yes
checking for uint32_t... yes
checking size of int... 4
checking size of char *... 8
checking for library containing sqrt... none required
checking for library containing crypt... -lcrypt
checking for library containing malloc... none required
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for wait3 that fills in rusage... yes
checking for atexit... yes
checking for drand48... yes
checking for doprnt... no
checking for dup2... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for getpagesize... (cached) yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for regcomp... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for tzset... yes
checking for utime... yes
checking for getrusage... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for libevent >= 2.0... yes
checking for library containing gzread... -lz
checking for library containing pthread_create... none required
checking for library containing timer_create... none required
checking for library containing iconv_open... no
checking for library containing libiconv_open... -liconv
checking for mysql_config... /usr/bin/mysql_config
checking for pg_config... /usr/bin/pg_config
checking for PostgreSQL libraries... yes
checking for SQLite3 library >= 3.0.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking lib pcre... (testing)
checking for pcre_study in -lpcre... yes
checking lib pcre... -lpcre
configure: creating ./config.status
config.status: creating Makefile
config.status: creating packages/Makefile
config.status: creating configure.h
***************** Configuration completed **************
Compiling FluffOS as driver.exe for x86_64-unknown-cygwin.

Using /usr/bin/install -c to install binaries in /cygdrive/c/cygwin64/home/dragonfire/Driver/bin.
Using g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto for preprocessing.
Using g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto to compile.
Using bison -y to make the compiler.
LIBEVENT: -levent, -I/usr/local/include, -L/usr/local/lib
MYSQL: 5.5.31, -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG, -L/usr/lib -lmysqlclient -lz -lssl -lcrypto
POSTGRESQL: 9.2.4, -I/usr/include, -L/usr/lib -lpq
SQLite3: 3.7.17, -I/usr/include, -L/usr/lib -lsqlite3
OPENSSL: -lssl -lcrypto -lz  ,  ,
PCRE: -lpcre,
Edit Makefile if this is not what you want

Otherwise, type 'make' to build FluffOS, then 'make install'.

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/dragonfire/Driver/src
$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "g++"' >> cc.h
echo '#define CXXFLAGS "-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto"' >> cc.h
echo '#define OPTIMIZE "-O3"' >> cc.h
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o edit_source.o -c -x c++ edit_source.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o hash.o hash.cc
rm -f make_func.tab.*
bison -y -d make_func.y
mv y.tab.h make_func.tab.h
mv y.tab.c make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o make_func.tab.o -c -x c++ make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto edit_source.o hash.o make_func.tab.o -o edit_source
./edit_source -options -malloc -build_func_spec 'g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++' \
              -process grammar.y.pre
Using 'local_options' file ...
WARNING: local_options contains extra setting 'USE_SQLITE3'.
WARNING: local_options contains extra setting 'DEBUGMALLOC'.
WARNING: local_options contains extra setting 'DEBUGMALLOC_EXTENSIONS'.
WARNING: local_options contains extra setting 'PACKAGE_PCRE'.
WARNING: local_options contains extra setting 'NONINTERACTIVE_STDERR_WRITE'.
WARNING: local_options contains extra setting 'CHECK_MEMORY'.
WARNING: local_options contains extra setting 'USE_MYSQL'.
WARNING: local_options contains extra setting 'USE_POSTGRES'.
Writing build options to option_defs.cc ...
Using memory allocation package: sysmalloc.cc
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.cc
touch malloc.cc
touch files
make build_packages
make[1]: Entering directory `/cygdrive/c/cygwin64/home/dragonfire/Driver/src'
make -C packages 'CC=g++' 'CXXFLAGS=-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto' 'A=' 'O=o'
make[2]: Entering directory `/cygdrive/c/cygwin64/home/dragonfire/Driver/src/packages'
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o trim.o trim.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o uids.o uids.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I.. -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG -I/usr/include -I/usr/include -x c++ -o db.o db.cc
In file included from db.cc:78:0:
db.h:7:33: fatal error: postgresql/libpq-fe.h: No such file or directory
 #include <postgresql/libpq-fe.h>
                                 ^
compilation terminated.
Makefile:26: recipe for target `db.o' failed
make[2]: *** [db.o] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin64/home/dragonfire/Driver/src/packages'
Makefile:81: recipe for target `build_packages' failed
make[1]: *** [build_packages] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin64/home/dragonfire/Driver/src'
Makefile:77: recipe for target `all' failed
make: *** [all] Error 2

I feel its my duty to test this when bored with WoW =)

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #4 on: September 01, 2013, 04:28:03 PM »
db.h:7:33: fatal error: postgresql/libpq-fe.h: No such file or directory
 #include <postgresql/libpq-fe.h>

Your error is because stock option enables all 3 database backend and failed to compile as such

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #5 on: September 01, 2013, 04:41:32 PM »
hmm, hold on, it seems you does have postgresql installed, where is your libpq-fe.h file? is it in /usr/include/  ?

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #6 on: September 01, 2013, 04:56:49 PM »
Danny@bearcomputer-PC /usr/include
$ ls lib*.*
libcharset.h  libmangle.h     libpq-fe.h           libssh2_sftp.h
libelf.h      libmng.h        librsync.h           libtasn1.h
libesmtp.h    libmng_conf.h   librsync-config.h    libyasm.h
libgen.h      libmng_types.h  libssh2.h            libyasm-stdint.h
libintl.h     libpq-events.h  libssh2_publickey.h

 gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.8.1/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.1-3/src/gcc-4.8.1/configure --srcdir=/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.1-3/src/gcc-4.8.1 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib
Thread model: posix
gcc version 4.8.1 (GCC)
Quote
HOMEPATH=\Users\Danny
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
APPDATA=C:\Users\Danny\AppData\Roaming
ProgramW6432=C:\Program Files
HOSTNAME=bearcomputer-PC
SHELL=/bin/bash
TERM=xterm
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
WINDIR=C:\windows
PUBLIC=C:\Users\Public
OLDPWD=/cygdrive/c/cygwin64/home/dragonfire/Driver/src
USERDOMAIN=bearcomputer-PC
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
OS=Windows_NT
ALLUSERSPROFILE=C:\ProgramData
TouchAppsTargetDir=C:\Program Files (x86)\Microsoft Touch Pack for Windows 7\
USER=Danny
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
!::=::\
TEMP=/tmp
temp=C:\Users\Danny\AppData\Local\Temp
COMMONPROGRAMFILES=C:\Program Files\Common Files
tmp=C:\Users\Danny\AppData\Local\Temp
QTJAVA=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip
USERNAME=Danny
PROCESSOR_LEVEL=6
ProgramFiles(x86)=C:\Program Files (x86)
PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/usr/lib/lapack
PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
FP_NO_HOST_CHECK=NO
PWD=/usr/include
SYSTEMDRIVE=C:
LANG=en_US.UTF-8
USERPROFILE=C:\Users\Danny
TZ=America/New_York
PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
LOGONSERVER=\\BEARCOMPUTER-PC
CommonProgramW6432=C:\Program Files\Common Files
PROCESSOR_ARCHITECTURE=AMD64
LOCALAPPDATA=C:\Users\Danny\AppData\Local
ProgramData=C:\ProgramData
SHLVL=1
HOME=/home/Danny
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
HOMEDRIVE=C:
COMSPEC=C:\windows\system32\cmd.exe
TMP=/tmp
SYSTEMROOT=C:\windows
PRINTER=Brother HL-2240 series
PROCESSOR_REVISION=170a
CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
PROGRAMFILES=C:\Program Files
NUMBER_OF_PROCESSORS=2
asl.log=Destination=file
SESSIONNAME=Console
COMPUTERNAME=BEARCOMPUTER-PC
_=/usr/bin/env

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #7 on: September 01, 2013, 04:57:45 PM »
will fix in a sec.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #8 on: September 01, 2013, 07:16:37 PM »
Quote
Danny@bearcomputer-PC /home/driver/src
$ cp local_options.testrelease local_options.h

Danny@bearcomputer-PC /home/driver/src
$ cp local_options.testrelease local_options

Danny@bearcomputer-PC /home/driver/src
$ ./build.FluffOS
Preparing to build standard driver ...
rm: cannot remove `configure.h': No such file or directory
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether C++ compiler accepts ... yes
checking whether the linker accepts -flto... yes
checking whether C++ compiler accepts -flto... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/telnet.h usability... yes
checking arpa/telnet.h presence... yes
checking for arpa/telnet.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/crypt.h usability... no
checking sys/crypt.h presence... no
checking for sys/crypt.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking whether byte ordering is bigendian... no
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for struct stat.st_rdev... yes
checking for uint32_t... yes
checking size of int... 4
checking size of char *... 8
checking for library containing sqrt... none required
checking for library containing crypt... -lcrypt
checking for library containing malloc... none required
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for wait3 that fills in rusage... yes
checking for atexit... yes
checking for drand48... yes
checking for doprnt... no
checking for dup2... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for getpagesize... (cached) yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for regcomp... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for tzset... yes
checking for utime... yes
checking for getrusage... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for libevent >= 2.0... yes
checking for library containing gzread... -lz
checking for library containing pthread_create... none required
checking for library containing timer_create... none required
checking for library containing iconv_open... no
checking for library containing libiconv_open... -liconv
checking for mysql_config... /usr/bin/mysql_config
checking for pg_config... /usr/bin/pg_config
checking for PostgreSQL libraries... yes
checking for SQLite3 library >= 3.0.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking lib pcre... (testing)
checking for pcre_study in -lpcre... yes
checking lib pcre... -lpcre
configure: creating ./config.status
config.status: creating Makefile
config.status: creating packages/Makefile
config.status: creating configure.h
***************** Configuration completed **************
Compiling FluffOS as driver.exe for x86_64-unknown-cygwin.

Using /usr/bin/install -c to install binaries in /home/driver/bin.
Using g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto for preprocessing.
Using g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto to compile.
Using bison -y to make the compiler.
LIBEVENT: -levent, -I/usr/local/include, -L/usr/local/lib
MYSQL: 5.5.31, -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG, -L/usr/lib -lmysqlclient -lz -lssl -lcrypto
POSTGRESQL: 9.2.4, -I/usr/include, -L/usr/lib -lpq
SQLite3: 3.7.17, -I/usr/include, -L/usr/lib -lsqlite3
OPENSSL: -lssl -lcrypto -lz  ,  ,
PCRE: -lpcre,
Edit Makefile if this is not what you want

Otherwise, type 'make' to build FluffOS, then 'make install'.

Danny@bearcomputer-PC /home/driver/src
$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "g++"' >> cc.h
echo '#define CXXFLAGS "-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto"' >> cc.h
echo '#define OPTIMIZE "-O3"' >> cc.h
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o edit_source.o -c -x c++ edit_source.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o hash.o hash.cc
rm -f make_func.tab.*
bison -y -d make_func.y
mv y.tab.h make_func.tab.h
mv y.tab.c make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o make_func.tab.o -c -x c++ make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto edit_source.o hash.o make_func.tab.o -o edit_source
./edit_source -options -malloc -build_func_spec 'g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++' \
              -process grammar.y.pre
Using 'local_options' file ...
WARNING: local_options contains extra setting 'USE_SQLITE3'.
WARNING: local_options contains extra setting 'DEBUGMALLOC'.
WARNING: local_options contains extra setting 'DEBUGMALLOC_EXTENSIONS'.
WARNING: local_options contains extra setting 'PACKAGE_PCRE'.
WARNING: local_options contains extra setting 'NONINTERACTIVE_STDERR_WRITE'.
WARNING: local_options contains extra setting 'CHECK_MEMORY'.
WARNING: local_options contains extra setting 'USE_MYSQL'.
WARNING: local_options contains extra setting 'USE_POSTGRES'.
Writing build options to option_defs.cc ...
Using memory allocation package: sysmalloc.cc
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.cc
touch malloc.cc
touch files
make build_packages
make[1]: Entering directory `/home/driver/src'
make -C packages 'CC=g++' 'CXXFLAGS=-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto' 'A=' 'O=o'
make[2]: Entering directory `/home/driver/src/packages'
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o trim.o trim.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o uids.o uids.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I.. -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG -I/usr/include -I/usr/include -x c++ -o db.o db.cc
In file included from db.cc:78:0:
db.h:7:33: fatal error: postgresql/libpq-fe.h: No such file or directory
 #include <postgresql/libpq-fe.h>
                                 ^
compilation terminated.
Makefile:26: recipe for target `db.o' failed
make[2]: *** [db.o] Error 1
make[2]: Leaving directory `/home/driver/src/packages'
Makefile:81: recipe for target `build_packages' failed
make[1]: *** [build_packages] Error 2
make[1]: Leaving directory `/home/driver/src'
Makefile:77: recipe for target `all' failed
make: *** [all] Error 2
I tried a different method, the one suggested in the newest readme, whic is to cp options.h (stock) and try compiling. It came up with a different error. I used a clean zip 3.0a7.3 from the git site
Quote
Danny@bearcomputer-PC /home/driver/src
$ rm local_options

Danny@bearcomputer-PC /home/driver/src
$ rm local_options.h

Danny@bearcomputer-PC /home/driver/src
$ cp options.h local_options

Danny@bearcomputer-PC /home/driver/src
$ cp options.h local_options.h

Danny@bearcomputer-PC /home/driver/src
$ make clean
make -C packages "A=" "O=o" clean
make[1]: Entering directory `/home/driver/src/packages'
rm -f *.d
rm -f *.o
make[1]: Leaving directory `/home/driver/src/packages'
rm -rf *.o *.d *.tab.cc *.tab.h
rm -f efun_defs.cc option_defs.cc
rm -f opcodes.h efunctions.h opc.h efun_protos.h
rm -f malloc.cc mallocwrapper.cc
rm -f efun.spec.generated applies.h applies_table.cc files
rm -f grammar.y comptest* a.out *.exe
rm -f packages/packages
rm -f Makefile.MudOS GNUmakefile.MudOS
rm -f cc.h edit_source
rm -f core y.output testsuite/core testsuite/tmp/*
rm -f testsuite/OPCPROF.* testsuite/opc.*
rm -rf testsuite/binaries testsuite/single/swapfile.*
rm -f testsuite/OBJ_DUMP* testsuite/test_file testsuite/testfile
rm -f testsuite/tmp_eval_file.c testsuite/sf.o testsuite/ed_test
rm -f testsuite/log/log testsuite/log/debug.log testsuite/log/compile
find . -name "*~" -print | xargs rm
rm: missing operand
Try `rm --help' for more information.
Makefile:148: recipe for target `clean' failed
make: [clean] Error 123 (ignored)
find . -name "*.orig" -print | xargs rm
rm: missing operand
Try `rm --help' for more information.
Makefile:148: recipe for target `clean' failed
make: [clean] Error 123 (ignored)
find . -name "*.rej" -print | xargs rm
rm: missing operand
Try `rm --help' for more information.
Makefile:148: recipe for target `clean' failed
make: [clean] Error 123 (ignored)
rm -f *.ln tags TAGS
rm -f driver.exe driver.exe.old portbind *.exe
rm -f 1.out 2.out
rm -f dtrace_compile
rm -f testsuite/log/author_stats testsuite/log/domain_stats
rm -f testsuite/tmp.o

Danny@bearcomputer-PC /home/driver/src
$ ./build.FluffOS
Preparing to build standard driver ...
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether C++ compiler accepts ... yes
checking whether the linker accepts -flto... yes
checking whether C++ compiler accepts -flto... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/telnet.h usability... yes
checking arpa/telnet.h presence... yes
checking for arpa/telnet.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/crypt.h usability... no
checking sys/crypt.h presence... no
checking for sys/crypt.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking whether byte ordering is bigendian... no
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for struct stat.st_rdev... yes
checking for uint32_t... yes
checking size of int... 4
checking size of char *... 8
checking for library containing sqrt... none required
checking for library containing crypt... -lcrypt
checking for library containing malloc... none required
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for wait3 that fills in rusage... yes
checking for atexit... yes
checking for drand48... yes
checking for doprnt... no
checking for dup2... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for getpagesize... (cached) yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for regcomp... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for tzset... yes
checking for utime... yes
checking for getrusage... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for libevent >= 2.0... yes
checking for library containing gzread... -lz
checking for library containing pthread_create... none required
checking for library containing timer_create... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating packages/Makefile
config.status: creating configure.h
***************** Configuration completed **************
Compiling FluffOS as driver.exe for x86_64-unknown-cygwin.

Using /usr/bin/install -c to install binaries in /home/driver/bin.
Using g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto for preprocessing.
Using g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto to compile.
Using bison -y to make the compiler.
LIBEVENT: -levent, -I/usr/local/include, -L/usr/local/lib
Edit Makefile if this is not what you want

Otherwise, type 'make' to build FluffOS, then 'make install'.

Danny@bearcomputer-PC /home/driver/src
$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "g++"' >> cc.h
echo '#define CXXFLAGS "-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto"' >> cc.h
echo '#define OPTIMIZE "-O3"' >> cc.h
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o edit_source.o -c -x c++ edit_source.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o hash.o hash.cc
rm -f make_func.tab.*
bison -y -d make_func.y
mv y.tab.h make_func.tab.h
mv y.tab.c make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o make_func.tab.o -c -x c++ make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto edit_source.o hash.o make_func.tab.o -o edit_source
./edit_source -options -malloc -build_func_spec 'g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++' \
              -process grammar.y.pre
Using 'local_options' file ...
Writing build options to option_defs.cc ...
Using memory allocation package: sysmalloc.cc
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.cc
touch malloc.cc
touch files
make build_packages
make[1]: Entering directory `/home/driver/src'
make -C packages 'CC=g++' 'CXXFLAGS=-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto' 'A=' 'O=o'
make[2]: Entering directory `/home/driver/src/packages'
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o trim.o trim.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o uids.o uids.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o compress.o compress.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o math.o math.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o develop.o develop.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o external.o external.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o contrib.o contrib.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o sockets.o sockets.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o sha1.o sha1.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o async.o async.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o mudlib_stats.o mudlib_stats.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o dwlib.o dwlib.cc
make[2]: Leaving directory `/home/driver/src/packages'
make[1]: Leaving directory `/home/driver/src'
make build_binaries
make[1]: Entering directory `/home/driver/src'
rm -f grammar.tab.*
bison -y -d grammar.y
mv y.tab.c grammar.tab.cc
mv y.tab.h grammar.tab.h
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o grammar.tab.o grammar.tab.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o lex.o lex.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o main.o main.cc
main.cc: In function ‘void setup_signal_handlers()’:
main.cc:478:10: error: ‘SIGIOT’ was not declared in this scope
   signal(SIGIOT, sig_iot);
          ^
Makefile:86: recipe for target `main.o' failed
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/driver/src'
Makefile:77: recipe for target `all' failed
make: *** [all] Error 2

Danny@bearcomputer-PC /home/driver/src
$



Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #9 on: September 02, 2013, 02:01:04 AM »
Thanks.

Both problem has been fixed in the next-3.0 branch, please give it a try.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #10 on: September 02, 2013, 06:59:43 AM »
[codeDanny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ cp options.h local_options

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ cp options.h local_options.h

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ sh build.FluffOS
Preparing to build standard driver ...
rm: cannot remove `configure.h': No such file or directory
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether C++ compiler accepts ... yes
checking whether the linker accepts -flto... yes
checking whether C++ compiler accepts -flto... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/telnet.h usability... yes
checking arpa/telnet.h presence... yes
checking for arpa/telnet.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/crypt.h usability... no
checking sys/crypt.h presence... no
checking for sys/crypt.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking whether byte ordering is bigendian... no
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for struct stat.st_rdev... yes
checking for uint32_t... yes
checking size of int... 4
checking size of char *... 8
checking for library containing sqrt... none required
checking for library containing crypt... -lcrypt
checking for library containing malloc... none required
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for wait3 that fills in rusage... yes
checking for atexit... yes
checking for drand48... yes
checking for doprnt... no
checking for dup2... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for getpagesize... (cached) yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for regcomp... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for tzset... yes
checking for utime... yes
checking for getrusage... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for libevent >= 2.0... yes
checking for library containing gzread... -lz
checking for library containing pthread_create... none required
checking for library containing timer_create... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating packages/Makefile
config.status: creating configure.h
***************** Configuration completed **************
Compiling FluffOS as driver.exe for x86_64-unknown-cygwin.

Using /usr/bin/install -c to install binaries in /cygdrive/c/cygwin64/home/driver/bin.
Using g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto for preprocessing.
Using g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto to compile.
Using bison -y to make the compiler.
LIBEVENT: -levent, -I/usr/local/include, -L/usr/local/lib
Edit Makefile if this is not what you want

Otherwise, type 'make' to build FluffOS, then 'make install'.

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "g++"' >> cc.h
echo '#define CXXFLAGS "-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto"' >> cc.h
echo '#define OPTIMIZE "-O3"' >> cc.h
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o edit_source.o -c -x c++ edit_source.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o hash.o hash.cc
rm -f make_func.tab.*
bison -y -d make_func.y
mv y.tab.h make_func.tab.h
mv y.tab.c make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o make_func.tab.o -c -x c++ make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto edit_source.o hash.o make_func.tab.o -o edit_source
./edit_source -options -malloc -build_func_spec 'g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++' \
              -process grammar.y.pre
Using 'local_options' file ...
Writing build options to option_defs.cc ...
Using memory allocation package: sysmalloc.cc
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.cc
touch malloc.cc
touch files
make build_packages
make[1]: Entering directory `/cygdrive/c/cygwin64/home/driver/src'
make -C packages 'CC=g++' 'CXXFLAGS=-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto' 'A=' 'O=o'
make[2]: Entering directory `/cygdrive/c/cygwin64/home/driver/src/packages'
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o trim.o trim.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o uids.o uids.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o compress.o compress.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o math.o math.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o develop.o develop.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o external.o external.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o contrib.o contrib.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o sockets.o sockets.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o sha1.o sha1.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I..    -x c++ -o async.o async.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o mudlib_stats.o mudlib_stats.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o dwlib.o dwlib.cc
make[2]: Leaving directory `/cygdrive/c/cygwin64/home/driver/src/packages'
make[1]: Leaving directory `/cygdrive/c/cygwin64/home/driver/src'
make build_binaries
make[1]: Entering directory `/cygdrive/c/cygwin64/home/driver/src'
rm -f grammar.tab.*
bison -y -d grammar.y
mv y.tab.c grammar.tab.cc
mv y.tab.h grammar.tab.h
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o grammar.tab.o grammar.tab.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o lex.o lex.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o main.o main.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o rc.o rc.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o interpret.o interpret.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include     -x c++ -o simulate.o simulate.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o file.o file.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o object.o object.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o backend.o backend.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o array.o array.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o mapping.o mapping.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o comm.o comm.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o ed.o ed.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o regexp.o regexp.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o buffer.o buffer.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o crc32.o crc32.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o malloc.o malloc.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o mallocwrapper.o mallocwrapper.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o class.o class.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o efuns_main.o efuns_main.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o efuns_port.o efuns_port.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o call_out.o call_out.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o otable.o otable.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o dumpstat.o dumpstat.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o stralloc.o stralloc.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o port.o port.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o reclaim.o reclaim.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o parse.o parse.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o simul_efun.o simul_efun.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o sprintf.o sprintf.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o program.o program.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o compiler.o compiler.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o avltree.o avltree.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o icode.o icode.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o trees.o trees.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o generate.o generate.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o scratchpad.o scratchpad.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o socket_efuns.o socket_efuns.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o socket_ctrl.o socket_ctrl.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o eoperators.o eoperators.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o socket_err.o socket_err.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o md.o md.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o disassembler.o disassembler.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o uvalarm.o uvalarm.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o replace_program.o replace_program.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o master.o master.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o function.o function.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o debug.o debug.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o crypt.o crypt.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o applies_table.o applies_table.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o add_action.o add_action.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o eval.o eval.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o fliconv.o fliconv.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o console.o console.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o posix_timers.o posix_timers.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o event.o event.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o dns.o dns.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ dtrace_compile.cc -o dtrace_compile
mv -f driver.exe driver.exe.old
mv: cannot stat `driver.exe': No such file or directory
Makefile:103: recipe for target `driver.exe' failed
make[1]: [driver.exe] Error 1 (ignored)
g++ -rdynamic -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto grammar.tab.o lex.o main.o rc.o interpret.o simulate.o file.o object.o  backend.o array.o mapping.o comm.o ed.o regexp.o buffer.o crc32.o  malloc.o mallocwrapper.o class.o efuns_main.o efuns_port.o  call_out.o otable.o dumpstat.o stralloc.o hash.o  port.o reclaim.o parse.o simul_efun.o sprintf.o program.o  compiler.o avltree.o icode.o trees.o generate.o scratchpad.o  socket_efuns.o socket_ctrl.o eoperators.o socket_err.o md.o  disassembler.o uvalarm.o  replace_program.o master.o function.o  debug.o crypt.o applies_table.o add_action.o eval.o fliconv.o console.o  posix_timers.o event.o dns.o packages/*.o `./dtrace_compile` -o driver.exe -lz -lcrypt        -levent -L/usr/local/lib
Cannot export _ZNSt5dequeIP8svalue_sSaIS1_EE12emplace_backIJS1_EEEvDpOT_: symbol wrong type (4 vs 3)
Cannot export _ZNSt5dequeIP8svalue_sSaIS1_EE16_M_push_back_auxIJS1_EEEvDpOT_: symbol wrong type (4 vs 3)
Cannot export _ZNSt8_Rb_treeI8svalue_sSt4pairIKS0_St5dequeIPS0_SaIS4_EEESt10_Select1stIS7_E21unique_svalue_compareSaIS7_EE14_M_create_nodeIJS7_EEEPSt13_Rb_tree_nodeIS7_EDpOT_: symbol wrong type (4 vs 3)
collect2: error: ld returned 1 exit status
Makefile:103: recipe for target `driver.exe' failed
make[1]: *** [driver.exe] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin64/home/driver/src'
Makefile:77: recipe for target `all' failed
][/code]

First method was to cp options.h to local_options and local_options.h ( Im not sure which it should be so I used them syntaxs)

For the second method, I deleted local_options and local_options and recopied them using local_options.testrelease

The outcome was the same "symbol wrong type (4 vs 3)" . Hope this helps.
Code: [Select]
Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ cp local_options.testrelease local_options

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ cp local_options.testrelease local_options.h

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ sh build.FluffOS
Preparing to build standard driver ...
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether C++ compiler accepts ... yes
checking whether the linker accepts -flto... yes
checking whether C++ compiler accepts -flto... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/telnet.h usability... yes
checking arpa/telnet.h presence... yes
checking for arpa/telnet.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/crypt.h usability... no
checking sys/crypt.h presence... no
checking for sys/crypt.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking whether byte ordering is bigendian... no
checking for int64_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for struct stat.st_rdev... yes
checking for uint32_t... yes
checking size of int... 4
checking size of char *... 8
checking for library containing sqrt... none required
checking for library containing crypt... -lcrypt
checking for library containing malloc... none required
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for wait3 that fills in rusage... yes
checking for atexit... yes
checking for drand48... yes
checking for doprnt... no
checking for dup2... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for getpagesize... (cached) yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for regcomp... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for tzset... yes
checking for utime... yes
checking for getrusage... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for libevent >= 2.0... yes
checking for library containing gzread... -lz
checking for library containing pthread_create... none required
checking for library containing timer_create... none required
checking for library containing iconv_open... no
checking for library containing libiconv_open... -liconv
checking for mysql_config... /usr/bin/mysql_config
checking for pg_config... /usr/bin/pg_config
checking for PostgreSQL libraries... yes
checking for SQLite3 library >= 3.0.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking lib pcre... (testing)
checking for pcre_study in -lpcre... yes
checking lib pcre... -lpcre
configure: creating ./config.status
config.status: creating Makefile
config.status: creating packages/Makefile
config.status: creating configure.h
***************** Configuration completed **************
Compiling FluffOS as driver.exe for x86_64-unknown-cygwin.

Using /usr/bin/install -c to install binaries in /cygdrive/c/cygwin64/home/driver/bin.
Using g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto for preprocessing.
Using g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto to compile.
Using bison -y to make the compiler.
LIBEVENT: -levent, -I/usr/local/include, -L/usr/local/lib
MYSQL: 5.5.31, -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG, -L/usr/lib -lmysqlclient -lz -lssl -lcrypto
POSTGRESQL: 9.2.4, -I/usr/include, -L/usr/lib -lpq
SQLite3: 3.7.17, -I/usr/include, -L/usr/lib -lsqlite3
OPENSSL: -lssl -lcrypto -lz  ,  ,
PCRE: -lpcre,
Edit Makefile if this is not what you want

Otherwise, type 'make' to build FluffOS, then 'make install'.

Danny@bearcomputer-PC /cygdrive/c/cygwin64/home/driver/src
$ make
rm -f cc.h
echo "/* this file automatically generated by the Makefile */" > cc.h
echo '#define COMPILER "g++"' >> cc.h
echo '#define CXXFLAGS "-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto"' >> cc.h
echo '#define OPTIMIZE "-O3"' >> cc.h
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o edit_source.o -c -x c++ edit_source.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o hash.o hash.cc
rm -f make_func.tab.*
bison -y -d make_func.y
mv y.tab.h make_func.tab.h
mv y.tab.c make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -o make_func.tab.o -c -x c++ make_func.tab.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto edit_source.o hash.o make_func.tab.o -o edit_source
./edit_source -options -malloc -build_func_spec 'g++ -E -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++' \
              -process grammar.y.pre
Using 'local_options' file ...
WARNING: local_options contains extra setting 'USE_SQLITE3'.
WARNING: local_options contains extra setting 'DEBUGMALLOC'.
WARNING: local_options contains extra setting 'DEBUGMALLOC_EXTENSIONS'.
WARNING: local_options contains extra setting 'PACKAGE_PCRE'.
WARNING: local_options contains extra setting 'NONINTERACTIVE_STDERR_WRITE'.
WARNING: local_options contains extra setting 'CHECK_MEMORY'.
WARNING: local_options contains extra setting 'USE_MYSQL'.
WARNING: local_options contains extra setting 'USE_POSTGRES'.
Writing build options to option_defs.cc ...
Using memory allocation package: sysmalloc.cc
Building compiler files ...
Creating 'grammar.y' from 'grammar.y.pre' ...

./edit_source -build_efuns -build_applies
Building efun tables ...

touch mallocwrapper.cc
touch malloc.cc
touch files
make build_packages
make[1]: Entering directory `/cygdrive/c/cygwin64/home/driver/src'
make -C packages 'CC=g++' 'CXXFLAGS=-fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto' 'A=' 'O=o'
make[2]: Entering directory `/cygdrive/c/cygwin64/home/driver/src/packages'
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o trim.o trim.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o uids.o uids.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I.. -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG -I/usr/include -I/usr/include -x c++ -o db.o db.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I..   -x c++ -o crypto.o crypto.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o compress.o compress.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I..  -x c++ -o pcre.o pcre.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o math.o math.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o develop.o develop.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o parser.o parser.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o external.o external.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o contrib.o contrib.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o sockets.o sockets.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o sha1.o sha1.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I.. -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG -I/usr/include -I/usr/include -x c++ -o async.o async.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o mudlib_stats.o mudlib_stats.cc
g++ -c -I.. -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ -o dwlib.o dwlib.cc
make[2]: Leaving directory `/cygdrive/c/cygwin64/home/driver/src/packages'
make[1]: Leaving directory `/cygdrive/c/cygwin64/home/driver/src'
make build_binaries
make[1]: Entering directory `/cygdrive/c/cygwin64/home/driver/src'
rm -f grammar.tab.*
bison -y -d grammar.y
mv y.tab.c grammar.tab.cc
mv y.tab.h grammar.tab.h
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o grammar.tab.o grammar.tab.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o lex.o lex.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o main.o main.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o rc.o rc.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o interpret.o interpret.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -I/usr/include/mysql -ggdb -pipe -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/build=/usr/src/debug/mysql-5.5.31-1 -fdebug-prefix-map=/usr/src/ports/mysql/mysql-5.5.31-1/src/mysql-5.5.31=/usr/src/debug/mysql-5.5.31-1 -g -DNDEBUG -I/usr/include -I/usr/include  -x c++ -o simulate.o simulate.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o file.o file.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o object.o object.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o backend.o backend.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o array.o array.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o mapping.o mapping.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o comm.o comm.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o ed.o ed.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o regexp.o regexp.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o buffer.o buffer.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o crc32.o crc32.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o malloc.o malloc.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o mallocwrapper.o mallocwrapper.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o class.o class.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o efuns_main.o efuns_main.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o efuns_port.o efuns_port.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o call_out.o call_out.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o otable.o otable.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o dumpstat.o dumpstat.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o stralloc.o stralloc.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o port.o port.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o reclaim.o reclaim.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o parse.o parse.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o simul_efun.o simul_efun.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o sprintf.o sprintf.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o program.o program.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o compiler.o compiler.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o avltree.o avltree.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o icode.o icode.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o trees.o trees.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o generate.o generate.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o scratchpad.o scratchpad.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o socket_efuns.o socket_efuns.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o socket_ctrl.o socket_ctrl.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o eoperators.o eoperators.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o socket_err.o socket_err.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o md.o md.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o disassembler.o disassembler.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o uvalarm.o uvalarm.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o replace_program.o replace_program.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o master.o master.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o function.o function.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o debug.o debug.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o crypt.o crypt.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o applies_table.o applies_table.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o add_action.o add_action.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o eval.o eval.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o fliconv.o fliconv.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o console.o console.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o posix_timers.o posix_timers.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o event.o event.cc
g++ -c -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -I/usr/local/include -x c++ -o dns.o dns.cc
g++ -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto -x c++ dtrace_compile.cc -o dtrace_compile
mv -f driver.exe driver.exe.old
mv: cannot stat `driver.exe': No such file or directory
Makefile:103: recipe for target `driver.exe' failed
make[1]: [driver.exe] Error 1 (ignored)
g++ -rdynamic -fno-omit-frame-pointer -D_GNU_SOURCE -march=native  -O3 -g -gdwarf-2 -std=c++11 -flto grammar.tab.o lex.o main.o rc.o interpret.o simulate.o file.o object.o  backend.o array.o mapping.o comm.o ed.o regexp.o buffer.o crc32.o  malloc.o mallocwrapper.o class.o efuns_main.o efuns_port.o  call_out.o otable.o dumpstat.o stralloc.o hash.o  port.o reclaim.o parse.o simul_efun.o sprintf.o program.o  compiler.o avltree.o icode.o trees.o generate.o scratchpad.o  socket_efuns.o socket_ctrl.o eoperators.o socket_err.o md.o  disassembler.o uvalarm.o  replace_program.o master.o function.o  debug.o crypt.o applies_table.o add_action.o eval.o fliconv.o console.o  posix_timers.o event.o dns.o packages/*.o `./dtrace_compile` -o driver.exe -lpcre -liconv -lz -lcrypt  -L/usr/lib -lmysqlclient -lz -lssl -lcrypto -L/usr/lib -lpq -L/usr/lib -lsqlite3   -lssl -lcrypto -lz   -lpcre -levent -L/usr/local/lib
Cannot export _ZNSt5dequeIP8svalue_sSaIS1_EE12emplace_backIJS1_EEEvDpOT_: symbol wrong type (4 vs 3)
Cannot export _ZNSt5dequeIP8svalue_sSaIS1_EE16_M_push_back_auxIJS1_EEEvDpOT_: symbol wrong type (4 vs 3)
Cannot export _ZNSt8_Rb_treeI8svalue_sSt4pairIKS0_St5dequeIPS0_SaIS4_EEESt10_Select1stIS7_E21unique_svalue_compareSaIS7_EE14_M_create_nodeIJS7_EEEPSt13_Rb_tree_nodeIS7_EDpOT_: symbol wrong type (4 vs 3)
collect2: error: ld returned 1 exit status
Makefile:103: recipe for target `driver.exe' failed
make[1]: *** [driver.exe] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin64/home/driver/src'
Makefile:77: recipe for target `all' failed
make: *** [all] Error 2

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #11 on: September 02, 2013, 04:26:56 PM »
can you run this and report back the result? I think you need to upgrade your libstdc++ file too.

$ ldconfig -p | grep c++
        libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
        libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6
$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIB
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.14
GLIBC_2.4
GLIBC_2.3.4
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH



Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #12 on: September 02, 2013, 04:29:01 PM »
The libstdc++ should be included in the gcc tar, you may just need to compile and install it (copy it to the right location)

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #13 on: September 03, 2013, 12:37:47 PM »
I was using cygwin stock install. I'll try it today with a recent x64 suse on an Oracle VM so I can customize better. Ill get back you shortly with the results.

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: Fluffos 3.0 alpha7.3
« Reply #14 on: September 03, 2013, 01:28:23 PM »
where did you get the cygwin with gcc4.8.1 ? mine only have 4.5.x ...