Displaying 20 results from an estimated 10000 matches similar to: "linking external library into module"
2016 Sep 29
1
linking external library into module
Thank you for the confirmation about the ABI issue.
I'm a bit puzzled by your answer for my #2, below. I could easily be
missing something, but I was under the impression that what I had
changed was the position of the command line flags to ld, not the
relative position and ordering of the linked libraries. Am I
misunderstanding what is stored in $(LDFLAGS)?
I mean, I'm not ending up
2016 Sep 22
1
linking external library into module
I guess there were no dendrites to tickle. I did come up with a partial
answer, although why exactly these items are required is still somewhat
of a mystery to me. I'll probably investigate further at some point to
see about getting a full answer, but here's what I came up with so far.
So, in case anyone else is giving this a try:
1) It appears that external libraries will not link
2015 Feb 10
1
Missing make dependencies?
I'm seeing some sporadic build failures with 'make -j4'. The failures are:
make[4]: *** No rule to make target 'hello.c32', needed by 'all'. Stop.
I've only seen the failures with com32/samples/hello.c32 and com32/rosh/rosh.c32.
I'm not a make expert, but I think it's due to missing dependencies. This patch
seems to fix my failures, but I'm
2011 Apr 16
6
[PATCH 0/6] Makefile cleanups
From: Matt Fleming <matt.fleming at linux.intel.com>
This series includes a patch (PATCH 1/6) that I sent previously but I
thought it was worth sending it again since the rest of the series
depends on it, and it also gives a bit of context.
These cleanups make it simpler to do the big switchover to ELF modules
on the elflink branch because the libraries in $LIBS are now contained
in one
2012 Oct 19
3
[PATCH 0/3] elflink fixes
From: Matt Fleming <matt.fleming at intel.com>
The first two patches in this series are fixes for bugs reported by
someone in #syslinux. The third makes dmitest.c32 actually wait for
user input.
If no one has any objections/concerns, I'll pull this into the
official elflink branch.
Matt Fleming (3):
core: Print error message if we don't load ldlinux.c32
Clean up $(GPLLIB) leak
2009 Oct 03
3
PATCH: Build floppy image which contains HDT
This patch builds a floppy image with contains HDT, so users of GRUB or GRUB4DOS can use HDT too, without installing Syslinux.
When you compile Syslinux, this floppy image isn't build automatically.
To build it, runthe following from the extracted Syslinux source:
$ cd ./com32/hdt
$ make hdt.img
As suggested by Pierre-Alexandre Meyer, all extra files required for building
the floppy
2016 Sep 20
0
linking external library into module
I'm hoping this tickles some dendrites as both google and the various
documentation doesn't seem to provide any insight.
I'm writing a com32 module for use on a x86-32 machine with a BIOS (not
EFI). The code that I write into the module executes correctly. However,
I also have a static library that has several routines that I want to
use. The static library doesn't rely on any
2012 Jun 26
2
[GIT PULL] elflink bug fixes
Hi Peter,
Please pull the following changes.
Paulo, I had to revert your "pxe: resolve names via DNS from
protected-mode code" change because dns_resolv() is only implemented for
PXELINUX and causes undefined symbol references for ISOLINUX, etc. Feel
free to make the change again on top of the revert.
The following changes since commit e7bd19def830e8341b1a100956345f1028740b9e:
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2013 Jul 11
0
LDFLAGS and distro overrides
Hi,
Matt Fleming:
> This just came up on IRC,
>
> 15:01 < chithead> the first one that fails is ld -m elf_i386 -Wl,-O1 -Wl,--as-needed -Bsymbolic -pie -E --hash-style=gnu -T /var/tmp/portage/sys-boot/syslinux-6.01_pre5/work/syslinux-6.01-pre5/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
> 15:01 < chithead> --start-group libcom32.a --whole-archive
2012 Nov 14
2
[LLVMdev] Linking Clang with an optional external library
Hi,
I'd like to link Clang against the STP theorem prover. Since Clang is built by the LLVM build system, I hope this is the correct place to ask for advice.
The attached patch allows me to pass `configure` a --with-stp option and provide a path to the install prefix for STP. However, I am not familiar with autoconf, so I am not confident that my changes are the correct way to do this. I
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse
2012 Aug 14
1
[GIT PULL] elflink fixes
Hi Peter,
The main part of this pull request includes commits that try to replace
as many __intcall() invocations as possible. Some remain, but not many
(and eventually they'll be gone too). There's also a patch to make
better use of ld's --as-needed option and various other bug
fixes/cleanups.
The following changes since commit ff7334a2ce536b7f4b1f6d6f93ff4e285a3bd45a:
Only
2015 Mar 14
0
[PATCH 0/1] EFI access from Com32 modules
This patch adds to Com32 modules the capabilities of accessing the EFI environment
The idea is simple, the EFI parameters "image" and "table" received by syslinux.efi's
efi_main() are stored in the "firmware" structure, next they are retrieved from the Com32
module which is linked against the gnu-efi static library. The Com32 module can use the EFI
2019 Feb 07
0
syslinux-6.04-pre2
On 2/6/19 12:07 PM, Joakim Tjernlund wrote:
> On Wed, 2019-02-06 at 11:56 -0800, H. Peter Anvin wrote:
>> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
>>
>>
>> On 2/6/19 11:44 AM, Joakim Tjernlund wrote:
>>> On Wed, 2019-02-06 at 11:34 -0800,
2011 Apr 11
0
[PATCH] Makefile: Move Makefile fragments into mk/
From: Matt Fleming <matt.fleming at linux.intel.com>
Move the MCONFIG files into a mk/ directory and give them more
descriptive names.
This is purely a cosmetic change to make the 'include' directives a
bit more coherent by making it obvious exactly which MCONFIG file
we're including. For example, in com32/lua/src/Makefile we exchange
the line,
include ../../MCONFIG
for the
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi,
This series targets automatic boot menu generation, but most of it
is the Lua upgrade, because I got tired reading deprecated API docs.
It's mostly a straightforward forward port of the earlier Syslinux
specific changes to Lua 5.1, except that:
* I chose the add a stub getenv() implementation to the COM32 API
instead of #ifdefing out all the references in Lua, and
* I kept oslib
2016 Mar 05
2
build problems with 6.04-pre1
hello everybody,
apologies if I'm missing something here
Just tried to build 6.04-pre1 test version with:
make bios installer
and found some problems all (seemingly) related to inaccurate paths in
various Makefiles.
I enclose a complete patch at the end of this email, which details the
problems I found and how they got fixed for me.
As an example, this is the first error I got:
2013 Jul 02
2
LDFLAGS and distro overrides
This just came up on IRC,
15:01 < chithead> the first one that fails is ld -m elf_i386 -Wl,-O1 -Wl,--as-needed -Bsymbolic -pie -E --hash-style=gnu -T /var/tmp/portage/sys-boot/syslinux-6.01_pre5/work/syslinux-6.01-pre5/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
15:01 < chithead> --start-group libcom32.a --whole-archive
2019 Feb 06
2
syslinux-6.04-pre2
> On 2/6/19 11:44 AM, Joakim Tjernlund wrote:
> > On Wed, 2019-02-06 at 11:34 -0800, H. Peter Anvin wrote:
> >
> > Great, that tree now against a somewhat old gnu-efi though.
> >
> > To build against >= 3.0.8 I need to do:
> > #gnu-efi >= 3.0.8 has memset/memcpy defined causing multiple syms errors
> > sed -i 's/LDFLAGS =/LDFLAGS =