[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] TeXmacs-1.99.4 build failure
From: |
Marco Atzeri |
Subject: |
[Texmacs-dev] TeXmacs-1.99.4 build failure |
Date: |
Fri, 18 Dec 2015 21:48:57 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Hi,
I am the current packager for cygwin.
While building 1.99.4 with
configure --with-iconv=/usr --with-imlib2=linked --with-gs
--with-qt=${QT4_QTDIR}
the build stop at
g++ -lz -Wl,-stack,8388608 -dynamic Objects/ANSIFontWriter.o
Objects/AbstractContentContext.o Objects/AbstractWrittenFont.o
Objects/Ascii7Encoding.o Objects/CFF ...
[cut]
-L/usr/lib -lQtGui -lQtCore -L/usr/lib -liconv -lguile -lltdl -lgmp
-lcrypt -lm -lltdl -lImlib2 -lz -lfreetype -ldl -ldl -o
Objects/texmacs-shared.bin
Objects/pipe_link.o:pipe_link.cpp:(.text+0xd13): undefined reference
to `remove_notifier(socket_notifier)'
[cut]
Objects/pipe_link.o:pipe_link.cpp:(.text+0x1296): undefined reference to
`add_notifier(socket_notifier)'
[cut]
Objects/tm_server.o:tm_server.cpp:(.text+0x142b): undefined reference to
`perform_select()'
[cut]
collect2: error: ld returned 1 exit status
makefile:436: recipe for target 'Objects/texmacs-shared.bin' failed
For what I see on src/System/Link/socket_notifier.cpp
the "#ifndef QTTEXMACS" excludes the definition of
remove_notifier, perform_select and add_notifier
as CPPFLAGS = .. -DQTTEXMACS
while on pipe_link.cpp the equivalent check
"#if !(defined (QTTEXMACS) && (defined (__MINGW__) || defined
(__MINGW32__) || defined (QTPIPES)))"
has not the same effect, as on CYGWIN it is true,
and remove_notifier is used.
May be the check should be written differently ?
Question:
"remove_notifier" and similars should be defined or not ?
On TeXmacs-1.99.2 , the build defined "remove_notifier"
$ grep remove_notifier *
Binary file pipe_link.o matches
Binary file qt_gui.o matches
Binary file socket_link.o matches
Binary file socket_notifier.o matches
Binary file socket_server.o matches
Binary file texmacs-shared.bin matches
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Texmacs-dev] TeXmacs-1.99.4 build failure,
Marco Atzeri <=