Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7643657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:30:06+00:00 2026-05-31T09:30:06+00:00

I am trying to compile android kernel (cyanogen) for Samsung Galaxy mini , according

  • 0

I am trying to compile android kernel (cyanogen) for Samsung Galaxy mini , according to these instructions:

I am using CM-7.

I performed these steps:

  1. Download kernel source code.

  2. Configure the build :

    adb pull /proc/config.gz /home/user_name/android/kernel/cm-kernel/config.gz 
    cat config.gz | gunzip > .config 
    make ARCH=arm CROSS_COMPILE=$CCOMPILER menuconfig
    
  3. Make the build:

     make ARCH=arm CROSS_COMPILE=$CCOMPILER -j4
    

After this kernel starts compiling and everything works fine but then it throws an error, here is the output of the terminal:

 CC [M]  drivers/gpio/wm8994-gpio.o
 LD [M]  sound/usb/misc/snd-ua101.o
 LD [M]  sound/usb/snd-usb-audio.o
 LD [M]  sound/usb/snd-usbmidi-lib.o
 CC [M]  drivers/gpio/sch_gpio.o
 CC [M]  drivers/gpio/rdc321x-gpio.o
 LD      fs/nfs_common/built-in.o
 CC [M]  fs/nfs_common/nfsacl.o
 CC [M]  fs/nfs/direct.o
 CC      net/socket.o
 CC [M]  drivers/gpio/janz-ttl.o
 LD [M]  fs/nfs_common/nfs_acl.o
  drivers/gpio/janz-ttl.c: In function 'ttl_set_value':
  drivers/gpio/janz-ttl.c:107: error: implicit declaration of function 'iowrite16be'
  make[2]: *** [drivers/gpio/janz-ttl.o] Error 1
  make[1]: *** [drivers/gpio] Error 2
  make: *** [drivers] Error 2
  make: *** Waiting for unfinished jobs....
  CC [M]  fs/nfs/pagelist.o   
  fs/nfs/direct.c: In function 'nfs_direct_read_schedule_segment':
  fs/nfs/direct.c:364: warning: format '%zu' expects type 'size_t', but argument 5 has type 'unsigned int'
  fs/nfs/direct.c: In function 'nfs_direct_write_schedule_segment':
  fs/nfs/direct.c:799: warning: format '%zu' expects type 'size_t', but argument 5 has type 'unsigned int'
  fs/nfs/direct.c: In function 'nfs_file_direct_read':
  fs/nfs/direct.c:928: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'size_t'
  fs/nfs/direct.c: In function 'nfs_file_direct_write':
  fs/nfs/direct.c:982: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'size_t'
 CC      net/802/p8022.o
 CC [M]  fs/nfs/proc.o
 CC      net/802/psnap.o
 CC      net/802/tr.o
 CC [M]  fs/nfs/read.o
 CC      net/8021q/vlan_core.o
 CC [M]  net/8021q/vlan.o
 CC      net/802/fc.o
 CC [M]  fs/nfs/symlink.o
 CC      net/802/fddi.o
 CC [M]  net/8021q/vlan_dev.o
 CC [M]  fs/nfs/unlink.o

If anyone can please tell how to resolve this issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T09:30:07+00:00Added an answer on May 31, 2026 at 9:30 am

    Try including this header

    #include<asm/io.h>
    

    If it doesn’t work then look at this for all the definitions of iowrite16be
    http://lxr.free-electrons.com/ident?i=iowrite16be

    Choose the appropriate header based on your architecture.

    EDIT : Generally implicit declaration of function xyz() is a warning. May be in your system its been forced to an error with -Werror-implicit-function-declaration. You can search for this in your build structure and try to take it off ( Though its not a good practice, but anyways you can do it, if you want the work done ) But if iowrite16be is really missing, then even this method wont help you from the linker’s wrath.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to compile android kernel (cyanogen) for Samsung Galaxy mini , according
While trying to compile a 64 bit linux kernel using gcc, I see the
I am trying to compile a newer Android kernel on my phone. The problem
I'm trying to compile fastboot for Android using this guide , but I'm getting
I'm trying to compile a project using appcelerator (crossplatform dev for iphone/android). Just evaluating
I am trying to compile a library using android-ndk-r5 standalone toolchain and autotools. When
I'm running Ubuntu Linux, and trying to compile native code for Android using the
I'm trying to compile an ntp client for android using the android build system
I'm trying to compile Dosbox0.74 for Android with pelya's SDL port (https://github.com/pelya/commandergenius) using the
I'm trying to compile some given assembler files (.S) for Android using the NDK.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.